[PATCH 10/12] drm/amdgpu/gfx10: always restore kcq/kgq MQDs

2023-04-27 Thread Alex Deucher
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) Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) di

[PATCH 10/12] drm/amdgpu/gfx10: always restore kcq/kgq MQDs

2023-04-26 Thread Alex Deucher
Always restore the MQD not just when we do a reset. This allows us to move the MQD to VRAM if we want. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 29 +- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgp