]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: Use the ALIGN() macro
authorLuben Tuikov <luben.tuikov@amd.com>
Wed, 2 Oct 2019 04:02:18 +0000 (00:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:35:20 +0000 (19:35 -0500)
commit4e930d96c906b8512c73038209038d48a70398a9
tree19b6e7e50ed83867a04d26d00b334cc4e0c760d6
parent54e9ab2edb2576b58d905d2385a0cbfc0750c7e4
drm/amdgpu: Use the ALIGN() macro

Use the ALIGN() macro to set "num_dw" to a
multiple of 8, i.e. lower 3 bits cleared.

Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c