diff --git a/hosts/framenix/default.nix b/hosts/framenix/default.nix index 81295a2..b5375fe 100644 --- a/hosts/framenix/default.nix +++ b/hosts/framenix/default.nix @@ -33,6 +33,12 @@ 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 = "[PATCH] platform/x86/amd/pmf: Fix a suspend hang on Framework 13"; + patch = pkgs.fetchpatch { + 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"; patch = pkgs.fetchpatch { url = "https://cgit.freedesktop.org/drm/drm-misc/patch/?id=8746c6c9dfa31d269c65dd52ab42fde0720b7d91"; @@ -40,8 +46,6 @@ in }; } ]; - # fix freezes after s2idle suspend-resume - boot.blacklistedKernelModules = [ "amd-pmf" ]; boot.kernelParams = [ # temporary workaround for white flickering graphics artefacts