diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-06-01 23:14:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-01 23:14:35 -0400 |
commit | 0135f04d778df96d4b6427ddc441f2eab565057b (patch) | |
tree | 459e653fd931180398004fa3e500f0842bf4efc2 /pkgs/os-specific | |
parent | cf152c2791c3a525736bcd540422d9b99a8f2a38 (diff) | |
parent | a3e239ac6233dc895edaf90d8d4ba6728d4d4a41 (diff) | |
download | nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.tar nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.tar.gz nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.tar.bz2 nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.tar.lz nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.tar.xz nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.tar.zst nixlib-0135f04d778df96d4b6427ddc441f2eab565057b.zip |
Merge pull request #40242 from gnidorah/gvt
linux: enable support for iGVT-g VGPU
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index cee2197f3c7a..a226061ecbfa 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -214,6 +214,11 @@ with stdenv.lib; ${optionalString (versionOlder version "4.3") '' DRM_I915_KMS y ''} + # iGVT-g support + ${optionalString (versionAtLeast version "4.16") '' + DRM_I915_GVT y + DRM_I915_GVT_KVMGT m + ''} # Allow specifying custom EDID on the kernel command line DRM_LOAD_EDID_FIRMWARE y VGA_SWITCHEROO y # Hybrid graphics support |