common: Move Intel generation-specific config from cpu to gpu

These modules only included gpu configuration, so belong in that
location.
This commit is contained in:
Lyndon Sanche authored and mergify[bot] committed 2024-07-09 09:05:35 +00:00
1 parent 72d3c00702
commit ba8294c0a1
32 files changed
+28 -28

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
{
imports = [ ../. ];
boot.kernelParams = [
"i915.enable_guc=2"
];
}
@@ -1,7 +0,0 @@
{
imports = [ ../. ];
boot.kernelParams = [
"i915.enable_guc=2"
];
}
-7
View File
@@ -1,7 +0,0 @@
{
imports = [ ../. ];
boot.kernelParams = [
"i915.enable_guc=2"
];
}
-8
View File
@@ -1,8 +0,0 @@
{
imports = [ ../. ];
boot.kernelParams = [
"i915.enable_fbc=1"
"i915.enable_psr=2"
];
}
@@ -1,9 +0,0 @@
{
imports = [ ../. ];
# Enables RC6, RC6p and RC6pp.
# Last two are only available on Sandy Bridge CPUs (circa 2011).
boot.kernelParams = [
"i915.enable_rc6=7"
];
}
-12
View File
@@ -1,12 +0,0 @@
{ config, lib, ... }:
{
imports = [ ../. ];
config = lib.mkMerge [
(lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.8") {
hardware.intelgpu.driver = "xe";
})
(lib.mkIf (config.hardware.intelgpu.driver == "i915") {
boot.kernelParams = [ "i915.enable_guc=3" ];
})
];
}