mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
@ 2024-05-16 17:57 Tim Van Patten
  2024-05-16 19:49 ` Alex Deucher
  2024-05-17  6:35 ` Christian König
  0 siblings, 2 replies; 8+ messages in thread
From: Tim Van Patten @ 2024-05-16 17:57 UTC (permalink / raw)
  To: LKML
  Cc: alexander.deucher, prathyushi.nangia, Tim Van Patten,
	Christian König, Daniel Vetter, David Airlie,
	Felix Kuehling, Ikshwaku Chauhan, Le Ma, Lijo Lazar,
	Mario Limonciello, Pan, Xinhui, Shaoyun.liu, Shiwu Zhang,
	Srinivasan Shanmugam, amd-gfx, dri-devel

From: Tim Van Patten <timvp@google.com>

The following commit updated gmc->noretry from 0 to 1 for GC HW IP
9.3.0:

    commit 5f3854f1f4e2 ("drm/amdgpu: add more cases to noretry=1")

This causes the device to hang when a page fault occurs, until the
device is rebooted. Instead, revert back to gmc->noretry=0 so the device
is still responsive.

Fixes: 5f3854f1f4e2 ("drm/amdgpu: add more cases to noretry=1")
Signed-off-by: Tim Van Patten <timvp@google.com>
---

 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index be4629cdac049..bff54a20835f1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
@@ -876,7 +876,6 @@ void amdgpu_gmc_noretry_set(struct amdgpu_device *adev)
 	struct amdgpu_gmc *gmc = &adev->gmc;
 	uint32_t gc_ver = amdgpu_ip_version(adev, GC_HWIP, 0);
 	bool noretry_default = (gc_ver == IP_VERSION(9, 0, 1) ||
-				gc_ver == IP_VERSION(9, 3, 0) ||
 				gc_ver == IP_VERSION(9, 4, 0) ||
 				gc_ver == IP_VERSION(9, 4, 1) ||
 				gc_ver == IP_VERSION(9, 4, 2) ||
-- 
2.45.0.rc1.225.g2a3ae87e7f-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-21 11:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-16 17:57 [PATCH] drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1 Tim Van Patten
2024-05-16 19:49 ` Alex Deucher
2024-05-17  6:35 ` Christian König
2024-05-17 15:31   ` Tim Van Patten
2024-05-17 15:46   ` Alex Deucher
2024-05-17 17:26     ` Tim Van Patten
2024-05-17 20:15       ` Alex Deucher
2024-05-21 11:04     ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®