1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-22 19:09:42 +01:00

common/gpu/intel/lunar-lake: enable xe driver

Starting with lunarlake this driver no longer needs to force probe:

ad46e8f95e/drivers/gpu/drm/xe/xe_pci.c (L339)

Co-authored-by: Gavin John <gavinnjohn@gmail.com>
This commit is contained in:
Jörg Thalheim 2024-09-28 17:55:50 +02:00
parent 7495e87753
commit 6e486f2812
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{
imports = [
../cpu-only.nix
];
}

View file

@ -0,0 +1,6 @@
{
imports = [
./cpu-only.nix
../../../gpu/intel/lunar-lake
];
}

View file

@ -0,0 +1,8 @@
{ config, lib, ... }:
{
imports = [ ../. ];
hardware.intelgpu = {
driver = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") "xe";
vaapiDriver = "intel-media-driver";
};
}