]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/gfx10: fix kiq locking in KCQ reset
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 13:56:35 +0000 (09:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jul 2025 18:07:28 +0000 (14:07 -0400)
commita4b2ba8f631d3e44b30b9b46ee290fbfe608b7d0
treeb24ddb53ddd36a364eef18438d442b8bb6ce0205
parent08f116c59310728ea8b7e9dc3086569006c861cf
drm/amdgpu/gfx10: fix kiq locking in KCQ reset

The ring test needs to be inside the lock.

Fixes: 097af47d3cfb ("drm/amdgpu/gfx10: wait for reset done before remap")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Jiadong Zhu <Jiadong.Zhu@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c