drm/amdgpu/gfx9: always restore kcq MQDs
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Apr 2023 18:49:00 +0000 (14:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:29:04 +0000 (09:29 -0400)
commit45b54a7dd3437632352ed28163e982233ef190a8
tree13f77f4ab87436304ded43fe897088fb023da3f7
parent42cdf6f687daa1a1992db400e8311e1e49c787fb
drm/amdgpu/gfx9: always restore kcq MQDs

Always restore the MQD not just when we do a reset.
This allows us to move the MQD to VRAM if we want.

v2: always reset ring pointer as well (Christian)

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c