gu605my: enable zeph g16 backlight control

This commit is contained in:
Relief Melone authored and mergify[bot] committed 2025-04-29 06:11:24 +00:00
1 parent 342b1b319d
commit f1e52a0181
2 files changed
+10

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
../../../common/gpu/nvidia/ada-lovelace
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../shared/backlight.nix
];
hardware.nvidia = {
+9
View File
@@ -0,0 +1,9 @@
{ ... }:
{
# These flags are used to enable backlight control when the dGPU is working in hybrid mode
boot.kernelParams = [
"i915.enable_dpcd_backlight=1"
"nvidia.NVreg_EnableBacklightHandler=0"
"nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
];
}