]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx11: fallback to driver reset compute queue directly (v2)
authorPrike Liang <Prike.Liang@amd.com>
Fri, 14 Jun 2024 13:25:44 +0000 (21:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:40:21 +0000 (11:40 -0400)
commit072b4414784524b6debda1b3b2ffbf10d66095e9
treeb9ea95e48f912d2e269fcd4020eae9cd9468d453
parentf2ea269bd2a55c4a28a9b825424b059a20259793
drm/amdgpu/gfx11: fallback to driver reset compute queue directly (v2)

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: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c