about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-06-28 21:19:26 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2023-06-28 21:19:26 +0200
commitf193e0b8207e36fb3c6cc647fd441c11c6d22b98 (patch)
treef72a3d6375c3fe86c87b936e64420bb7900530fa /pkgs/os-specific
parent325188d713c6a45049e472a9f860ce76f6878358 (diff)
linux_5_15: apply patch to fix amdgpu
Closes #240017
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/patches.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix
index 972235c7f8522..2b46be2199a8a 100644
--- a/pkgs/os-specific/linux/kernel/patches.nix
+++ b/pkgs/os-specific/linux/kernel/patches.nix
@@ -66,4 +66,12 @@
       hash = "sha256-DYPWgraXPNeFkjtuDYkFXHnCJ4yDewrukM2CCAqC2BE=";
     };
   };
+
+  fix-amdgpu-5_15 = {
+    name = "fix-amdgpu-crash";
+    patch = fetchpatch {
+      url = "https://lore.kernel.org/stable/20230628111636.23300-1-mario.limonciello@amd.com/raw";
+      sha256 = "sha256-eAzy+bMiOJwzssOuvrMu7gmmV3PZezaDuVwwx7zNt6M=";
+    };
+  };
 }