]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
authorTim Van Patten <timvp@google.com>
Thu, 16 May 2024 17:57:25 +0000 (11:57 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Aug 2024 06:59:50 +0000 (08:59 +0200)
[ Upstream commit 1446226d32a45bb7c4f63195a59be8c08defe658 ]

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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

index 08b9dfb653355259e55ca2b7d26afd9668d8e11e..86b096ad0319c441d11813fd758363e851c0c577 100644 (file)
@@ -878,7 +878,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) ||