]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/gfx10: fix KGQ reset sequence
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Jun 2025 21:51:02 +0000 (17:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 17:42:07 +0000 (13:42 -0400)
commit14b2d71a9a24727f1b9f2131ed5eb2e345840a3a
tree19d52fe4455e7ac47e6b08551a33b01e80924be3
parent127ed492ad2df0aa2351a1ad32a793ae7d91161b
drm/amdgpu/gfx10: fix KGQ reset sequence

Need to reinit the ring before remapping it and all of
the KIQ handling needs to be within the kiq lock.

Fixes: 1741281a157f ("drm/amdgpu/gfx10: add ring reset callbacks")
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