]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e58931715bcaed4a4d1d6424a96c70d45361caa
tree6c00c46f2910668320ec41b5d21515c90b7863fd
parent76a3e3300a7f76d9284fdbb62a2fd722656c5d3f
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