Skip to content

Commit 5aa9d94

Browse files
superm1rafaeljw
authored andcommitted
ACPI: video: Don't enable fallback path for creating ACPI backlight by default
The ACPI video detection code has a module parameter `register_backlight_delay` which is currently configured to 8 seconds. This means that if after 8 seconds of booting no native driver has created a backlight device then the code will attempt to make an ACPI video backlight device. This was intended as a safety mechanism with the backlight overhaul that occurred in kernel 6.1, but as it doesn't appear necesssary set it to be disabled by default. Suggested-by: Hans de Goede <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent c573e24 commit 5aa9d94

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

drivers/acpi/acpi_video.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,7 @@ module_param(device_id_scheme, bool, 0444);
7070
static int only_lcd = -1;
7171
module_param(only_lcd, int, 0444);
7272

73-
/*
74-
* Display probing is known to take up to 5 seconds, so delay the fallback
75-
* backlight registration by 5 seconds + 3 seconds for some extra margin.
76-
*/
77-
static int register_backlight_delay = 8;
73+
static int register_backlight_delay;
7874
module_param(register_backlight_delay, int, 0444);
7975
MODULE_PARM_DESC(register_backlight_delay,
8076
"Delay in seconds before doing fallback (non GPU driver triggered) "

0 commit comments

Comments
 (0)