drm/amdgpu: Stop clearing kiq position during fini
authorleiyaoyao <yaoyao.lei@amd.com>
Mon, 27 Feb 2023 05:24:03 +0000 (13:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Mar 2023 20:14:14 +0000 (15:14 -0500)
commitdb1c1a8f0a2bb69eb9123b2d2a88cc7d3d49b13a
tree907a4e336acf067f888e362ebd4e8ea04fda8fc4
parentc0d5c293ceb752e4d91e40854196a13f3cc070c0
drm/amdgpu: Stop clearing kiq position during fini

Do not clear kiq position in RLC_CP_SCHEDULER so that CP could perform
IDLE-SAVE after VF fini.
Otherwise it could cause GFX hang if another Win guest is rendering.

Signed-off-by: leiyaoyao <yaoyao.lei@amd.com>
Acked-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c