commit:     717bc08125e2a45676914ce6d8166660791897f0
Author:     Arisu Tachibana <alicef <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  8 16:29:29 2026 +0000
Commit:     Arisu Tachibana <alicef <AT> gentoo <DOT> org>
CommitDate: Thu Jan  8 16:29:29 2026 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=717bc081

remove drm/amdgpu: don't attach the tlb fence for SI

upstreamed: 7f1f50c2055b0d19534e4615b653af936a967d79
Signed-off-by: Arisu Tachibana <alicef <AT> gentoo.org>

 0000_README                                        |  4 ---
 ...-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch | 34 ----------------------
 2 files changed, 38 deletions(-)

diff --git a/0000_README b/0000_README
index acaab5e7..26464d46 100644
--- a/0000_README
+++ b/0000_README
@@ -75,10 +75,6 @@ Patch:  
2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch
 From:   
https://lore.kernel.org/linux-bluetooth/[email protected]/raw
 Desc:   Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. 
See bug #686758
 
-Patch:  2701-drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch
-From:   https://gitlab.freedesktop.org/drm/amd/-/issues/4744
-Desc:   amdgpu module kernel oops with GCN 1.0
-
 Patch:  2901_permit-menuconfig-sorting.patch
 From:   https://lore.kernel.org/
 Desc:   menuconfig: Allow sorting the entries alphabetically

diff --git a/2701-drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch 
b/2701-drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch
deleted file mode 100644
index 93db717b..00000000
--- a/2701-drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From e7a5371d625fdb071f60b038c5c6445bf043a7bd Mon Sep 17 00:00:00 2001
-From: Alex Deucher <[email protected]>
-Date: Tue, 2 Dec 2025 14:24:03 -0500
-Subject: [PATCH] drm/amdgpu: don't attach the tlb fence for SI
-
-SI hardware doesn't support pasids, user mode queues, or
-KIQ/MES so there is no need for this.  Doing so results in
-a segfault as these callbacks are non-existent for SI.
-
-Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4744
-Fixes: f3854e04b708 ("drm/amdgpu: attach tlb fence to the PTs update")
-Signed-off-by: Alex Deucher <[email protected]>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-index 6a2ea200d90c8..0eccb31793ca7 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-@@ -1069,7 +1069,9 @@ amdgpu_vm_tlb_flush(struct amdgpu_vm_update_params 
*params,
-       }
- 
-       /* Prepare a TLB flush fence to be attached to PTs */
--      if (!params->unlocked) {
-+      if (!params->unlocked &&
-+          /* SI doesn't support pasid or KIQ/MES */
-+          params->adev->family > AMDGPU_FAMILY_SI) {
-               amdgpu_vm_tlb_fence_create(params->adev, vm, fence);
- 
-               /* Makes sure no PD/PT is freed before the flush */
--- 
-2.51.1
-

Reply via email to