]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/gfx12: fallback to driver reset compute queue directly
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 22:22:24 +0000 (18:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:41:01 +0000 (11:41 -0400)
commit8fe4fde381a103114903f823c6d18457b4b891e4
treef52dcd0dfe6fe863b5fda896c044b1634b6ea74f
parent2480599890296b386839bc53367c10f19d97716d
drm/amdgpu/gfx12: fallback to driver reset compute queue directly

Since the MES FW resets kernel compute queue always failed, this
may caused by the KIQ failed to process unmap KCQ. So, before MES
FW work properly that will fallback to driver executes dequeue and
resets SPI directly. Besides, rework the ring reset function and make
the busy ring type reset in each function respectively.

Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c