mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-01 08:39:41 +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:
parent
7495e87753
commit
6e486f2812
3 changed files with 19 additions and 0 deletions
5
common/cpu/intel/lunar-lake/cpu-only.nix
Normal file
5
common/cpu/intel/lunar-lake/cpu-only.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
../cpu-only.nix
|
||||
];
|
||||
}
|
6
common/cpu/intel/lunar-lake/default.nix
Normal file
6
common/cpu/intel/lunar-lake/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./cpu-only.nix
|
||||
../../../gpu/intel/lunar-lake
|
||||
];
|
||||
}
|
8
common/gpu/intel/lunar-lake/default.nix
Normal file
8
common/gpu/intel/lunar-lake/default.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue