drm/amdgpu: Fix the KCQ hang when binding back
authorShiwu Zhang <shiwu.zhang@amd.com>
Fri, 18 Nov 2022 06:21:15 +0000 (14:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:50:01 +0000 (09:50 -0400)
commitfee500fa7cb7e11a4d2d66e75e65e67c156e27c6
treeb827d8b23ed8ea988092d373eacea4d8854c2597
parent5b03127d4745d6848f208463390e6a76d489eb03
drm/amdgpu: Fix the KCQ hang when binding back

Just like the KIQ, KCQ need to clear the doorbell related regs as well
to avoid hangs when to load driver again after unloading.

Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c