]> Gentwo Git Trees - linux/.git/commitdiff
Revert "drm/amd: fix gfx hang on renoir in IGT reload test"
authorRodrigo Siqueira <siqueira@igalia.com>
Fri, 21 Nov 2025 13:55:29 +0000 (06:55 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Nov 2025 17:35:15 +0000 (12:35 -0500)
The original patch introduced additional latency during boot time
because it triggers a driver reload to avoid a CP hang when the driver
is reloaded multiple times. This has been addressed with a more generic
solution that triggers the GPU reset only during the unload phase,
avoiding extra latency during boot time. For this reason, this commit
reverts the original change.

This reverts commit 72a98763b473890e6605604bfcaf71fc212b4720.

This patch should only be applied if commit:
4355e61835e7 ("drm/amdgpu: Fix GFX hang on SteamDeck when amdgpu is reloaded")
is present.

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 9785fada4fa799c9a8b7ea34c3e5823ebdc386ef..42f5d9c0e3af84ca3034be16c227b6d2d67628ba 100644 (file)
@@ -853,10 +853,6 @@ static bool soc15_need_reset_on_init(struct amdgpu_device *adev)
 {
        u32 sol_reg;
 
-       /* CP hangs in IGT reloading test on RN, reset to WA */
-       if (adev->asic_type == CHIP_RENOIR)
-               return true;
-
        if (amdgpu_gmc_need_reset_on_init(adev))
                return true;
        if (amdgpu_psp_tos_reload_needed(adev))