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 /modules/hardware/t100ha/default.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 'modules/hardware/t100ha/default.nix')
-rw-r--r-- | modules/hardware/t100ha/default.nix | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/modules/hardware/t100ha/default.nix b/modules/hardware/t100ha/default.nix index 00c8a096..8d8756f4 100644 --- a/modules/hardware/t100ha/default.nix +++ b/modules/hardware/t100ha/default.nix @@ -19,18 +19,9 @@ in { $install "$params" "$out/lib/firmware/brcm/brcmfmac43340-sdio.txt" ''); - boot.kernelPatches = [ - { name = "backlight"; - patch = ./backlight.patch; - } - { name = "meta-keys"; - patch = ./meta-keys.patch; - } - ]; - boot.kernelPackages = let nixpkgs = import ../../../nixpkgs-path.nix; - t100haKernel = pkgs.vuizvui.linux_4_12.override { + t100haKernel = pkgs.linux_testing.override { # Missing device drivers: # # 808622B8 -> Intel(R) Imaging Signal Processor 2401 @@ -55,14 +46,20 @@ in { MFD_AXP20X y MFD_AXP20X_I2C y + # Backlight + PWM y + PWM_SYSFS y + PWM_CRC y + GPIO_CRYSTAL_COVE y + # GPU AGP n DRM y - DRM_I915 y + DRM_I915 m # Thermal - INT3406_THERMAL y - INT340X_THERMAL y + INT3406_THERMAL m + INT340X_THERMAL m # GPIO PINCTRL_CHERRYVIEW y |