gu605my: enable zeph g16 backlight control

This commit is contained in:
Relief Melone
2025-01-07 17:21:49 +01:00
committed by mergify[bot]
parent 342b1b319d
commit f1e52a0181
2 changed files with 10 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
../../../common/gpu/nvidia/ada-lovelace
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../shared/backlight.nix
];
hardware.nvidia = {

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"
];
}