OSDN Git Service

drm/amdgpu: Stop clearing kiq position during unload
authorYuBiao Wang <YuBiao.Wang@amd.com>
Thu, 10 Nov 2022 06:53:10 +0000 (14:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 16:51:15 +0000 (11:51 -0500)
commitf3416dc88ad37d94a942eebcb9168838c3846087
tree9b5367d855be80ab818fe1d8538446f4f2b20ad9
parent2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3
drm/amdgpu: Stop clearing kiq position during unload

Do not clear kiq position in RLC_CP_SCHEDULER so that CP could perform
IDLE-SAVE after VF fini. CPG also needs to be active in save command.

v2: drop unused variable (Alex)

Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c