summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorJonathan Rudenberg <jonathan@titanous.com>2015-08-04 16:38:38 -0400
committerJonathan Rudenberg <jonathan@titanous.com>2015-08-04 16:38:38 -0400
commit921055b4a8f5380d1be6e998908896cfa7246df1 (patch)
tree7fe1fd1f167b448af15f37421d08d2a6e7d31a88 /pkgs/os-specific/linux
parent04f1b451d71cf16fd911e645afdaa381bbd861f0 (diff)
downloadnixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.tar
nixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.tar.gz
nixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.tar.bz2
nixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.tar.lz
nixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.tar.xz
nixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.tar.zst
nixpkgs-921055b4a8f5380d1be6e998908896cfa7246df1.zip
kernel: Enable DRM_LOAD_EDID_FIRMWARE
This allows specifying drm_kms_helper.edid_firmware to work around displays
that provide bad EDID data.

Documentation: https://www.osadl.org/Single-View.111+M5ec938a7b3b.0.html
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 7063017b3a8..386004dad43 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -141,6 +141,8 @@ with stdenv.lib;
   # Video configuration.
   # Enable KMS for devices whose X.org driver supports it.
   DRM_I915_KMS y
+  # Allow specifying custom EDID on the kernel command line
+  DRM_LOAD_EDID_FIRMWARE y
   ${optionalString (versionOlder version "3.9") ''
     DRM_RADEON_KMS? y
   ''}