mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08: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:
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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user