drm/amdgpu/gfx8: always restore kcq MQDs
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Apr 2023 18:44:43 +0000 (14:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:28:58 +0000 (09:28 -0400)
commit42cdf6f687daa1a1992db400e8311e1e49c787fb
tree6277ebaad41fb272f1c9f0486f728d4fd3f20f1a
parentb848fe65f856193fc4f567c84f559f60ff66a3db
drm/amdgpu/gfx8: 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_v8_0.c