]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: correct doorbell range/size value for CSDMA_DOORBELL_RANGE
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 6 Sep 2022 05:09:20 +0000 (13:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Sep 2022 02:52:32 +0000 (22:52 -0400)
commit705866d5c9df35e33eabec40e024ed00e2737e9d
treea86ea2e6a940ccd0297f481a0196f5ccfcdf2a96
parent706b4d49330b4e7d3eb25f6e39646a441790d810
drm/amdgpu: correct doorbell range/size value for CSDMA_DOORBELL_RANGE

current function mixes CSDMA_DOORBELL_RANGE and SDMA0_DOORBELL_RANGE
range/size manipulation, while these 2 registers have difference size
field mask. Remove range/size manipulation for SDMA0_DOORBELL_RANGE.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Xiaojian Du <Xiaojian.Du@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_7.c