summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorTim Steinbach <tim@nequissimus.com>2021-03-24 10:03:46 -0400
committerTim Steinbach <NeQuissimus@users.noreply.github.com>2021-03-26 18:48:37 -0400
commita7d6642cf304148073e98ec86534f9e7ff4ae36e (patch)
treead1edce9dedd74cfa575d0aafca0b3cd6e9fb675 /pkgs/os-specific
parent81ac64300e137784e11e68597618c19ebe462c62 (diff)
linux-testing: 5.11-rc5 -> 5.12-rc4
- Sound SOC support was refactored in torvalds/linux@43df5242af4ed67e8811257ab1bfe6a07e4a5858 - GMA3600 is part of GMA500 as of torvalds/linux@26499e0518a77de29e7db2c53fb0d0e9e15be8fb
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix33
-rw-r--r--pkgs/os-specific/linux/kernel/linux-testing.nix6
2 files changed, 25 insertions, 14 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 4fef56077c01..7ba05d132932 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -244,8 +244,9 @@ let
# Allow specifying custom EDID on the kernel command line
DRM_LOAD_EDID_FIRMWARE = yes;
VGA_SWITCHEROO = yes; # Hybrid graphics support
+ DRM_GMA500 = whenAtLeast "5.12" module;
DRM_GMA600 = yes;
- DRM_GMA3600 = yes;
+ DRM_GMA3600 = whenOlder "5.12" yes;
DRM_VMWGFX_FBCON = yes;
# necessary for amdgpu polaris support
DRM_AMD_POWERPLAY = whenBetween "4.5" "4.9" yes;
@@ -288,21 +289,31 @@ let
SND_SOC_SOF_TOPLEVEL = yes;
SND_SOC_SOF_ACPI = module;
SND_SOC_SOF_PCI = module;
- SND_SOC_SOF_APOLLOLAKE_SUPPORT = yes;
- SND_SOC_SOF_CANNONLAKE_SUPPORT = yes;
- SND_SOC_SOF_COFFEELAKE_SUPPORT = yes;
+ SND_SOC_SOF_APOLLOLAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_APOLLOLAKE_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_CANNONLAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_CANNONLAKE_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_COFFEELAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_COFFEELAKE_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_COMETLAKE = whenAtLeast "5.12" module;
SND_SOC_SOF_COMETLAKE_H_SUPPORT = whenOlder "5.8" yes;
- SND_SOC_SOF_COMETLAKE_LP_SUPPORT = yes;
- SND_SOC_SOF_ELKHARTLAKE_SUPPORT = yes;
- SND_SOC_SOF_GEMINILAKE_SUPPORT = yes;
+ SND_SOC_SOF_COMETLAKE_LP_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_ELKHARTLAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_ELKHARTLAKE_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_GEMINILAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_GEMINILAKE_SUPPORT = whenOlder "5.12" yes;
SND_SOC_SOF_HDA_AUDIO_CODEC = yes;
SND_SOC_SOF_HDA_COMMON_HDMI_CODEC = whenOlder "5.7" yes;
SND_SOC_SOF_HDA_LINK = yes;
- SND_SOC_SOF_ICELAKE_SUPPORT = yes;
+ SND_SOC_SOF_ICELAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_ICELAKE_SUPPORT = whenOlder "5.12" yes;
SND_SOC_SOF_INTEL_TOPLEVEL = yes;
- SND_SOC_SOF_JASPERLAKE_SUPPORT = yes;
- SND_SOC_SOF_MERRIFIELD_SUPPORT = yes;
- SND_SOC_SOF_TIGERLAKE_SUPPORT = yes;
+ SND_SOC_SOF_JASPERLAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_JASPERLAKE_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_MERRIFIELD = whenAtLeast "5.12" module;
+ SND_SOC_SOF_MERRIFIELD_SUPPORT = whenOlder "5.12" yes;
+ SND_SOC_SOF_TIGERLAKE = whenAtLeast "5.12" module;
+ SND_SOC_SOF_TIGERLAKE_SUPPORT = whenOlder "5.12" yes;
};
usb-serial = {
diff --git a/pkgs/os-specific/linux/kernel/linux-testing.nix b/pkgs/os-specific/linux/kernel/linux-testing.nix
index 1ed116cdfde4..06efc5da1ec4 100644
--- a/pkgs/os-specific/linux/kernel/linux-testing.nix
+++ b/pkgs/os-specific/linux/kernel/linux-testing.nix
@@ -3,15 +3,15 @@
with lib;
buildLinux (args // rec {
- version = "5.11-rc5";
- extraMeta.branch = "5.11";
+ version = "5.12-rc4";
+ extraMeta.branch = "5.12";
# modDirVersion needs to be x.y.z, will always add .0
modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg;
src = fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
- sha256 = "029nps41nrym5qz9lq832cys4rai04ig5xp9ddvrpazzh0lfnr4q";
+ sha256 = "06i6xnfbyn522pj9zksx6ka01yxwv8dsrb2z517grv682sp8j70k";
};
# Should the testing kernels ever be built on Hydra?