mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
apple/macbook-air/4: enable RC6p, RC6pp GPU sleep states
This commit is contained in:
parent
5a00ea423a
commit
19c0c04f61
2 changed files with 13 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../. ];
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../common/cpu/intel/sandy-bridge
|
||||||
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"acpi_backlight=vendor"
|
"acpi_backlight=vendor"
|
||||||
|
|
9
common/cpu/intel/sandy-bridge/default.nix
Normal file
9
common/cpu/intel/sandy-bridge/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
|
||||||
|
# Enables RC6, RC6p and RC6pp.
|
||||||
|
# Last two are only available on Sandy Bridge CPUs (circa 2011).
|
||||||
|
boot.kernelParams = [
|
||||||
|
"i915.enable_rc6=7"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue