about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2022-04-15 15:27:40 -0700
committerCole Mickens <cole.mickens@gmail.com>2022-11-28 13:14:10 -0800
commit9c3dc3cfeb15d4073eacb3802e8795abce848607 (patch)
treeb8f9968437894b51ec3685b40773450b7e8a169a /pkgs/os-specific
parentbebe0f71df8ce8b7912db1853a3fd1d866b38d39 (diff)
downloadnixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.tar
nixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.tar.gz
nixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.tar.bz2
nixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.tar.lz
nixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.tar.xz
nixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.tar.zst
nixlib-9c3dc3cfeb15d4073eacb3802e8795abce848607.zip
linux: kernel: enable DRM_HYPERV
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 606a505885d9..1bacfb1315d5 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -303,6 +303,8 @@ let
       # Intel GVT-g graphics virtualization supports 64-bit only
       DRM_I915_GVT = whenAtLeast "4.16" yes;
       DRM_I915_GVT_KVMGT = whenAtLeast "4.16" module;
+      # Enable Hyper-V Synthetic DRM Driver
+      DRM_HYPERV = whenAtLeast "5.14" module;
     } // optionalAttrs (stdenv.hostPlatform.system == "aarch64-linux") {
       # enable HDMI-CEC on RPi boards
       DRM_VC4_HDMI_CEC = yes;