summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2022-09-12 08:02:13 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2022-09-12 08:02:13 +0200
commit71bd9f638c10bd9f9c1f207b2475aab04f50e9e6 (patch)
treecfc57854f3225568bde2acdc079d13f6dd8b1bac /pkgs/os-specific
parent1ec0ec75831589ff80ca91928c02e9c838b0a5b8 (diff)
parentbcd41f289122c4a182f892ee740b37e436daf89e (diff)
downloadnixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.tar
nixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.tar.gz
nixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.tar.bz2
nixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.tar.lz
nixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.tar.xz
nixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.tar.zst
nixpkgs-71bd9f638c10bd9f9c1f207b2475aab04f50e9e6.zip
Merge #188704: linux: Disable DRM_LEGACY, NOUVEAU_LEGACY_CTX_SUPPORT
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 8211860b62f..97bf388d46a 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -270,6 +270,9 @@ let
     };
 
     video = {
+      DRM_LEGACY = no;
+      NOUVEAU_LEGACY_CTX_SUPPORT = whenAtLeast "5.2" no;
+
       # Allow specifying custom EDID on the kernel command line
       DRM_LOAD_EDID_FIRMWARE = yes;
       VGA_SWITCHEROO         = yes; # Hybrid graphics support