Skip to content

Commit d693c00

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI / video: Extend chassis-type detection with a "Lunch Box" check
Commit 53fa1f6 ("ACPI / video: Only default only_lcd to true on Win8-ready _desktops_") introduced chassis type detection, limiting the lcd_only check for the backlight to devices where the chassis-type indicates their is no builtin LCD panel. The purpose of the lcd_only check is to avoid advertising a backlight interface on desktops, since skylake and newer machines seem to always have a backlight interface even if there is no LCD panel. The limiting of this check to desktops only was done to avoid breaking backlight support on some laptops which do not have the lcd flag set. The Fujitsu ESPRIMO Q910 which is a compact (NUC like) desktop machine has a chassis type of 0x10 aka "Lunch Box". Without the lcd_only check we end up falsely advertising backlight/brightness control on this device. This commit extend the dmi_is_desktop check to return true for type 0x10 to fix this. Fixes: 53fa1f6 ("ACPI / video: Only default only_lcd to true ...") Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent cecf3e3 commit d693c00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/acpi/acpi_video.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,6 +2143,7 @@ static bool dmi_is_desktop(void)
21432143
case 0x05: /* Pizza Box */
21442144
case 0x06: /* Mini Tower */
21452145
case 0x07: /* Tower */
2146+
case 0x10: /* Lunch Box */
21462147
case 0x11: /* Main Server Chassis */
21472148
return true;
21482149
}

0 commit comments

Comments
 (0)