diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-10-05 19:04:37 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-10-05 19:12:22 +0200 |
commit | 19f9decd62fa986863941be2fcd775eccd4740ba (patch) | |
tree | f51642e25a87f226202c3769110f7b0d5e5481c1 /pkgs/linux-4.12.nix | |
parent | e9a75836650035db62b971c53e5c1969c9703f98 (diff) |
hardware/t100ha: Update to kernel 4.14
Almost all of the issues we so far needed patches for have been addressed upstream with the exception of backlight probing. The reason for this is detailled in the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=96571 In summary, when the I915 driver is built into the kernel, it can't access the PWM because it's initialized at a later stage. What we're now doing instead is that we compile i915 as a module and bake the necessary PWM modules directly into the kernel. This has the advantage that we no longer need the backlight.patch, because after all this is already a workaround and having a workaround that doesn't require us to rebase the patch once a new kernel arrives seems to be a better solution in my opinion. With this update we can now revert the reintroduction of kernel 4.12 done in 45bdcd7fc7788316cbad2d7d412e421b230715dc. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/linux-4.12.nix')
-rw-r--r-- | pkgs/linux-4.12.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/pkgs/linux-4.12.nix b/pkgs/linux-4.12.nix deleted file mode 100644 index 1ead6369..00000000 --- a/pkgs/linux-4.12.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ stdenv, hostPlatform, fetchurl, perl, pkgs, buildLinux, ... }@args: - -let - nixpkgs = import ../nixpkgs-path.nix; - generic = "${nixpkgs}/pkgs/os-specific/linux/kernel/generic.nix"; -in import generic (args // rec { - extraMeta.branch = "4.12"; - version = "4.12.14"; - - src = fetchurl { - url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "09zxmknh6awhqmj8dyq95bdlwcasryy35hkjxjlzixdgn52kzaw6"; - }; - - kernelPatches = (args.kernelPatches or []) ++ [ - pkgs.kernelPatches.bridge_stp_helper - pkgs.kernelPatches.p9_fixes - pkgs.kernelPatches.cpu-cgroup-v2."4.11" - pkgs.kernelPatches.modinst_arg_list_too_long - ]; - - extraMeta.hydraPlatforms = []; -} // (args.argsOverride or {})) |