OSDN Git Service

drm/amdgpu/gfx11: always restore kcq/kgq MQDs
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Apr 2023 18:54:27 +0000 (14:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:29:44 +0000 (09:29 -0400)
commit09d8a67912462a07cb7ff40956ed8c79b1c74564
tree01b1e1f7a944532c51b1f3b37dd2bd857a9cea41
parentc6fa6fe9ebd5cdde0e41a558ff3efea8fe988e77
drm/amdgpu/gfx11: 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_v11_0.c