drm/amdgpu: convert the doorbell_index to 2 dwords offset for kiq
authorLe Ma <le.ma@amd.com>
Fri, 18 Mar 2022 08:46:04 +0000 (16:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:43:56 +0000 (09:43 -0400)
commitfeb36dd01403689140a42f906fc75769d3158400
tree960c91bb10bc7cb3485e2c37c3b0a11a502adea0
parent5de6bd6a13f1c717279c870eb8290e466c8f6a80
drm/amdgpu: convert the doorbell_index to 2 dwords offset for kiq

KIQ doorbell_index is non-zero from XCC1, thus need to left-shift it like
other rings.

Signed-off-by: Le Ma <le.ma@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c