framenix: use targeted patch instead of reverts
This commit is contained in:
parent
b19661c536
commit
01d428e51a
1 changed files with 3 additions and 25 deletions
|
|
@ -33,31 +33,9 @@ in
|
||||||
# revert some commits that introduced the clourful graphics artefacts flickering,
|
# 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
|
# at least that's the current working hypothesis in https://gitlab.freedesktop.org/drm/amd/-/issues/3097
|
||||||
boot.kernelPatches = [
|
boot.kernelPatches = [
|
||||||
{name = "revert 9ae587f850a6702428273fcf4a2a9b392349b2a3";
|
{name = "patch attempt from https://gitlab.freedesktop.org/drm/amd/-/issues/3097#note_2271482";
|
||||||
patch = (pkgs.fetchpatch {
|
patch = ./0001-drm-buddy-Improve-alloc_range-error-handling-routine.patch;
|
||||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=9ae587f850a6702428273fcf4a2a9b392349b2a3";
|
}
|
||||||
hash = "sha256-5Uu8zxRSQuqE8oymjwPMt/ylsItpkQVDhbrOSMj8g3I=";
|
|
||||||
revert = true;
|
|
||||||
});}
|
|
||||||
{name = "revert 2eb412aa25ed2bf59f5ad5f7a09787d182d67934";
|
|
||||||
patch = (pkgs.fetchpatch {
|
|
||||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=2eb412aa25ed2bf59f5ad5f7a09787d182d67934";
|
|
||||||
hash = "sha256-VtsH6bmwaLxPZ+uXvVE6qVWD2/aIKf9GLuMTNKq6d8M=";
|
|
||||||
revert = true;
|
|
||||||
});}
|
|
||||||
{name = "revert 0a1844bf0b532d84324453374ad6845f64066c28";
|
|
||||||
patch = (pkgs.fetchpatch {
|
|
||||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=0a1844bf0b532d84324453374ad6845f64066c28";
|
|
||||||
hash = "sha256-Zd2pcYiOmuuzcc7THNtJW/YTjPyzO7HmQYKJNzy9YPw=";
|
|
||||||
revert = true;
|
|
||||||
});
|
|
||||||
# alternatively, 8569c3154538 can be reverted as well
|
|
||||||
extraStructuredConfig = with lib.kernel; {
|
|
||||||
DRM_I915 = no;
|
|
||||||
DRM_I915_GVT = lib.mkForce unset;
|
|
||||||
DRM_I915_GVT_KVMGT = lib.mkForce unset;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# temporary workaround for white flickering graphics artefacts
|
# temporary workaround for white flickering graphics artefacts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue