mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
common/gpu/intel/lunar-lake: enable xe driver
Starting with lunarlake this driver no longer needs to force probe: https://github.com/torvalds/linux/blob/ad46e8f95e931e113cb98253daf6d443ac244cde/drivers/gpu/drm/xe/xe_pci.c#L339 Co-authored-by: Gavin John <gavinnjohn@gmail.com>
This commit is contained in:
1 parent
7495e87753
commit
6e486f2812
3 files changed
+19
No files matched your search
@@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
../cpu-only.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./cpu-only.nix
|
||||
../../../gpu/intel/lunar-lake
|
||||
];
|
||||
}
|
||||
@@ -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