about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2024-01-07 11:54:35 +0100
committerGitHub <noreply@github.com>2024-01-07 11:54:35 +0100
commit6e279f5c5a16a50a736d994955a81f39a3cb65ef (patch)
treee12a84cc4bb2685417f36c5b265d3b6d8d6bc95f /pkgs/os-specific
parent65231f01b3962dc0d503c2b3fbb912512c58545c (diff)
parent5bad652ff3fe25e855487438a05ca4b988b500f5 (diff)
downloadnixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.tar
nixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.tar.gz
nixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.tar.bz2
nixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.tar.lz
nixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.tar.xz
nixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.tar.zst
nixlib-6e279f5c5a16a50a736d994955a81f39a3cb65ef.zip
Merge pull request #279146 from alyssais/udmabuf
linux: enable UDMABUF
Diffstat (limited to 'pkgs/os-specific')
-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 7e3f96f77be1..06668abdccc7 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -675,6 +675,8 @@ let
 
       VFIO_PCI_VGA = mkIf stdenv.is64bit yes;
 
+      UDMABUF = whenAtLeast "4.20" yes;
+
       # VirtualBox guest drivers in the kernel conflict with the ones in the
       # official additions package and prevent the vboxsf module from loading,
       # so disable them for now.