about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-03-11 08:57:19 +0300
committerK900 <me@0upti.me>2024-03-11 21:28:09 +0300
commit9a6f85ad1a5bf2887f6bf7c6039bde0920ed8e6e (patch)
treed1e193fbff6462cde18a8f6c4f45233e2d99b68e /pkgs/os-specific/linux/kernel/common-config.nix
parente437576a780132a2fea879a9e9d6ff67fd02683e (diff)
kernel/common-config: enable NVK by default when available
(cherry picked from commit a512cf4642b1ce97a7c19eb4d02339c1811caa94)
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-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 ad5cc416386e4..82dd1c41c1a6e 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -362,6 +362,8 @@ let
       DRM_AMD_DC_FP = whenAtLeast "6.4" yes;
       DRM_AMD_DC_HDCP = whenBetween "5.5" "6.4" yes;
       DRM_AMD_DC_SI = whenAtLeast "5.10" yes;
+      # Enable new firmware (and by extension NVK) for compatible hardware on Nouveau
+      DRM_NOUVEAU_GSP_DEFAULT = whenAtLeast "6.8" yes;
     } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux") {
       # Intel GVT-g graphics virtualization supports 64-bit only
       DRM_I915_GVT = yes;