From 921055b4a8f5380d1be6e998908896cfa7246df1 Mon Sep 17 00:00:00 2001 From: Jonathan Rudenberg Date: Tue, 4 Aug 2015 16:38:38 -0400 Subject: [PATCH] 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 --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 7063017b3a8c..386004dad43a 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 ''}