framenix: try another kernel patch for the suspend-freeze issue

This commit is contained in:
Trolli Schmittlauch 2024-02-17 18:34:23 +01:00
parent 1d8de843af
commit 1bb42d4c1b

View file

@ -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";