drm/amdgpu/sdma: Remove redundant lower_32_bits() calls when settings SDMA doorbell
authorHaohui Mai <ricetons@gmail.com>
Mon, 25 Apr 2022 12:23:38 +0000 (20:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Apr 2022 15:44:06 +0000 (11:44 -0400)
commitca5d251b3b6e3aabf2d1bb7261c6b8e156b7ee16
tree6c00c46f2910668320ec41b5d21515c90b7863fd
parent7dba6e838e741caadcf27ef717b6dcb561e77f89
drm/amdgpu/sdma: Remove redundant lower_32_bits() calls when settings SDMA doorbell

Updated the patch for the pre-vega hardware. I kept the clamping code
to be safe.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Haohui Mai <ricetons@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
drivers/gpu/drm/amd/amdgpu/si_dma.c