drm/amdgpu/gfx10: always restore kcq/kgq MQDs
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Apr 2023 18:51:34 +0000 (14:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:29:07 +0000 (09:29 -0400)
commit2dbaf83998fe4772c83e5060cfbc21808758bb4b
tree9f883961d860ae1dcefea2abfe4dd3f10bc0fa7a
parent45b54a7dd3437632352ed28163e982233ef190a8
drm/amdgpu/gfx10: always restore kcq/kgq 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_v10_0.c