diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-01-06 12:24:15 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-01-06 12:24:15 +0100 |
commit | 5bad652ff3fe25e855487438a05ca4b988b500f5 (patch) | |
tree | e0c3361b2e07f08b8a9e653895f0cb57fe5eeb8e /pkgs/os-specific | |
parent | 5f23a2f3961d7878e3c28d1d5535afff3ac3aac0 (diff) | |
download | nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.tar nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.tar.gz nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.tar.bz2 nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.tar.lz nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.tar.xz nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.tar.zst nixlib-5bad652ff3fe25e855487438a05ca4b988b500f5.zip |
linux: enable UDMABUF
> A driver to let userspace turn memfd regions into dma-bufs. > Qemu can use this to create host dmabufs for guest framebuffers. Enabled by Fedora and Arch.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 2 |
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 746991c00b7e..da0659e4231f 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -672,6 +672,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. |