OSDN Git Service

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:28:42 +0000 (22:28 -0400)
commite00debc283893dff628bb420a10bd5f2e48c1866
tree60739f95baaa5aa3a6947d7971106e24377bc08f
parentfb0a0625f8516345f888d67bcbb96ade19a8f20f
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