mirror of
https://salsa.debian.org/kernel-team/linux.git
synced 2026-01-11 20:07:10 +00:00
parent
b24fbd012b
commit
efaaa69358
3 changed files with 45 additions and 0 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
|
@ -7,6 +7,9 @@ linux (6.18.2-1~exp2) UNRELEASED; urgency=medium
|
|||
* Don't remove own files in clean target. This fixes the contents of
|
||||
kernel-image udebs.
|
||||
|
||||
[ Salvatore Bonaccorso ]
|
||||
* drm/amdgpu: don't attach the tlb fence for SI (Closes: #1123046)
|
||||
|
||||
-- Aurelien Jarno <aurel32@debian.org> Thu, 18 Dec 2025 23:49:23 +0100
|
||||
|
||||
linux (6.18.2-1~exp1) experimental; urgency=medium
|
||||
|
|
|
|||
41
debian/patches/bugfix/all/drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch
vendored
Normal file
41
debian/patches/bugfix/all/drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
From: Alex Deucher <alexander.deucher@amd.com>
|
||||
Date: Tue, 2 Dec 2025 14:24:03 -0500
|
||||
Subject: drm/amdgpu: don't attach the tlb fence for SI
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Origin: https://git.kernel.org/linus/eb296c09805ee37dd4ea520a7fb3ec157c31090f
|
||||
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/4744
|
||||
Bug-Debian: https://bugs.debian.org/1123046
|
||||
|
||||
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")
|
||||
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
|
||||
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
||||
(cherry picked from commit 820b3d376e8a102c6aeab737ec6edebbbb710e04)
|
||||
---
|
||||
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 a67285118c37..c362d4dfb5bb 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.0
|
||||
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
|
@ -72,6 +72,7 @@ features/x86/x86-make-x32-syscall-support-conditional.patch
|
|||
bugfix/all/disable-some-marvell-phys.patch
|
||||
bugfix/all/fs-add-module_softdep-declarations-for-hard-coded-cr.patch
|
||||
bugfix/all/clk-samsung-exynos-clkout-Assign-.num-before-accessi.patch
|
||||
bugfix/all/drm-amdgpu-don-t-attach-the-tlb-fence-for-SI.patch
|
||||
|
||||
# Miscellaneous features
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue