Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "drm/amd: fix gfx hang on renoir in IGT reload test"

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>

authored by

Rodrigo Siqueira and committed by
Alex Deucher
66a50fa4 34355e61

-4
-4
drivers/gpu/drm/amd/amdgpu/soc15.c
··· 853 853 { 854 854 u32 sol_reg; 855 855 856 - /* CP hangs in IGT reloading test on RN, reset to WA */ 857 - if (adev->asic_type == CHIP_RENOIR) 858 - return true; 859 - 860 856 if (amdgpu_gmc_need_reset_on_init(adev)) 861 857 return true; 862 858 if (amdgpu_psp_tos_reload_needed(adev))