]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/gfx9: fix kiq locking in KCQ reset
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 13:38:27 +0000 (09:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jul 2025 18:07:17 +0000 (14:07 -0400)
commit730ea5074dac1b105717316be5d9c18b09829385
tree9197bb57c7f253ce1d95fe15238ad27564db4cf3
parent8ff4a4b98d1f82544460a9e9c04dbe9d0ac0322f
drm/amdgpu/gfx9: fix kiq locking in KCQ reset

The ring test needs to be inside the lock.

Fixes: fdbd69486b46 ("drm/amdgpu/gfx9: 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_v9_0.c