Skip to content

Commit

Permalink
microsoft/surface: Update to kernel 6.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdotsh authored and mergify[bot] committed Dec 16, 2024
1 parent cf737e2 commit b12e314
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion microsoft/surface/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ in {
./kernel
];

microsoft-surface.kernelVersion = mkDefault "6.11";
microsoft-surface.kernelVersion = mkDefault "6.12";

# Seems to be required to properly enable S0ix "Modern Standby":
boot.kernelParams = mkDefault [ "mem_sleep_default=deep" ];
Expand Down
4 changes: 2 additions & 2 deletions microsoft/surface/common/kernel/linux-surface/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ let

cfg = config.microsoft-surface;

version = "6.11.4";
version = "6.12.4";
kernelPatches = surfacePatches {
inherit version;
patchFn = ./patches.nix;
};
kernelPackages = linuxPackage {
inherit version kernelPatches;
sha256 = "0mcg1rrw9b0lwj88jkaw6ic2mks8xh8i92v90sbr2x35ljhb0m5x";
sha256 = "sha256-bzX4IUM9hCG+cWeZB0fHxKDEUZWPuWiDRGMBrxPXEVI=";
ignoreConfigErrors=true;
};

Expand Down
36 changes: 16 additions & 20 deletions microsoft/surface/common/kernel/linux-surface/patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -119,39 +119,35 @@ CONFIG_SURFACE_BOOK1_DGPU_SWITCH= module;
patch = patchSrc + "/0006-ithc.patch";
}
{
name = "ms-surface/0007-surface-sam";
patch = patchSrc + "/0007-surface-sam.patch";
name = "ms-surface/0007-surface-sam-over-hid";
patch = patchSrc + "/0007-surface-sam-over-hid.patch";
}
{
name = "ms-surface/0008-surface-sam-over-hid";
patch = patchSrc + "/0008-surface-sam-over-hid.patch";
name = "ms-surface/0008-surface-button";
patch = patchSrc + "/0008-surface-button.patch";
}
{
name = "ms-surface/0009-surface-button";
patch = patchSrc + "/0009-surface-button.patch";
name = "ms-surface/0009-surface-typecover";
patch = patchSrc + "/0009-surface-typecover.patch";
}
{
name = "ms-surface/0010-surface-typecover";
patch = patchSrc + "/0010-surface-typecover.patch";
name = "ms-surface/0010-surface-shutdown";
patch = patchSrc + "/0010-surface-shutdown.patch";
}
{
name = "ms-surface/0011-surface-shutdown";
patch = patchSrc + "/0011-surface-shutdown.patch";
name = "ms-surface/0011-surface-gpe";
patch = patchSrc + "/0011-surface-gpe.patch";
}
{
name = "ms-surface/0012-surface-gpe";
patch = patchSrc + "/0012-surface-gpe.patch";
name = "ms-surface/0012-cameras";
patch = patchSrc + "/0012-cameras.patch";
}
{
name = "ms-surface/0013-cameras";
patch = patchSrc + "/0013-cameras.patch";
name = "ms-surface/0013-amd-gpio";
patch = patchSrc + "/0013-amd-gpio.patch";
}
{
name = "ms-surface/0014-amd-gpio";
patch = patchSrc + "/0014-amd-gpio.patch";
}
{
name = "ms-surface/0015-rtc";
patch = patchSrc + "/0015-rtc.patch";
name = "ms-surface/0014-rtc";
patch = patchSrc + "/0014-rtc.patch";
}
]
4 changes: 2 additions & 2 deletions microsoft/surface/common/repos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
linux-surface = fetchFromGitHub {
owner = "linux-surface";
repo = "linux-surface";
rev = "arch-6.11.4-1";
hash = "sha256-5rKfAIkGoD5Y4nMobr7wGvzZqN2yFElXqHdcQS2VL14=";
rev = "arch-6.12.4-1";
hash = "sha256-RAcM28eheOJeHU8liC2lh0zpt/SqwOsHlpWuLmncXVc=";
};

# This is the owner and repo for the pre-patched kernel from the "linux-surface" project:
Expand Down

0 comments on commit b12e314

Please sign in to comment.