From 1bb42d4c1b1142271bb5e2625520dd51c8c3bb76 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sat, 17 Feb 2024 18:34:23 +0100 Subject: [PATCH] framenix: try another kernel patch for the suspend-freeze issue --- hosts/framenix/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hosts/framenix/default.nix b/hosts/framenix/default.nix index 5ade202..1f97a15 100644 --- a/hosts/framenix/default.nix +++ b/hosts/framenix/default.nix @@ -33,16 +33,10 @@ in # revert some commits that introduced the clourful graphics artefacts flickering, # at least that's the current working hypothesis in https://gitlab.freedesktop.org/drm/amd/-/issues/3097 boot.kernelPatches = [ - {name = "[v3,2/2] platform/x86/amd/pmf: Fix TEE enact command failure after suspend and resume (suspend-resume-freeze)"; + {name = "[PATCH] platform/x86/amd/pmf: Fix a suspend hang on Framework 13"; patch = pkgs.fetchpatch { - url = "https://patchwork.kernel.org/project/platform-driver-x86/patch/20240216064112.962582-2-Shyam-sundar.S-k@amd.com/raw/"; - hash = "sha256-qUobf4IpvNemFcB0BAvMvpV/85O6to5XvJB3HA5fEOw="; - }; - } - {name = "[v3,1/2] platform/x86/amd/pmf: remove smart_pc_status enum (suspend-resume-freeze)"; - patch = pkgs.fetchpatch { - url = "https://patchwork.kernel.org/project/platform-driver-x86/patch/20240216064112.962582-1-Shyam-sundar.S-k@amd.com/raw/"; - hash = "sha256-whJEq3lubsRP+AX/BPLUUzX4T0RefuiCqw+GLG+pc5U="; + url = "https://lore.kernel.org/platform-driver-x86/20240217005216.113408-1-mario.limonciello@amd.com/raw"; + hash = "sha256-FeKIQ0eLP4yq1WcMaf8Dp0c+DuqOdeuBQU07dFswzD4="; }; } {name = "drm/buddy: Fix alloc_range() error handling code";