Skip to content

Commit f1e52a0

Browse files
Relief Melonemergify[bot]
Relief Melone
authored andcommitted
gu605my: enable zeph g16 backlight control
1 parent 342b1b3 commit f1e52a0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

asus/zephyrus/gu605my/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
../../../common/gpu/nvidia/ada-lovelace
88
../../../common/pc/laptop
99
../../../common/pc/laptop/ssd
10+
../shared/backlight.nix
1011
];
1112

1213
hardware.nvidia = {

asus/zephyrus/shared/backlight.nix

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{ ... }:
2+
{
3+
# These flags are used to enable backlight control when the dGPU is working in hybrid mode
4+
boot.kernelParams = [
5+
"i915.enable_dpcd_backlight=1"
6+
"nvidia.NVreg_EnableBacklightHandler=0"
7+
"nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
8+
];
9+
}

0 commit comments

Comments
 (0)