aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2012-12-04 17:30:19 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-12-04 17:30:19 -0500
commit129ff8f8d58297b04f47b5d6fad81aa2d08404e1 (patch)
tree464e9e2edc3c6cbe55d8664241a896cbc01158e2 /drivers/acpi/video.c
parentb7e383046c2c7c13ad928cd7407eafff758ddd4b (diff)
ACPI / video: ignore BIOS initial backlight value for HP Folio 13-2000
Or else the laptop will boot with a dimmed screen. References: https://bugzilla.kernel.org/show_bug.cgi?id=51141 Tested-by: Stefan Nagy <public@stefan-nagy.at> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r--drivers/acpi/video.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 0230cb6cbb3a..ac9a69cd45f5 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -389,6 +389,12 @@ static int __init video_set_bqc_offset(const struct dmi_system_id *d)
389 return 0; 389 return 0;
390} 390}
391 391
392static int video_ignore_initial_backlight(const struct dmi_system_id *d)
393{
394 use_bios_initial_backlight = 0;
395 return 0;
396}
397
392static struct dmi_system_id video_dmi_table[] __initdata = { 398static struct dmi_system_id video_dmi_table[] __initdata = {
393 /* 399 /*
394 * Broken _BQC workaround http://bugzilla.kernel.org/show_bug.cgi?id=13121 400 * Broken _BQC workaround http://bugzilla.kernel.org/show_bug.cgi?id=13121
@@ -433,6 +439,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
433 DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7720"), 439 DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7720"),
434 }, 440 },
435 }, 441 },
442 {
443 .callback = video_ignore_initial_backlight,
444 .ident = "HP Folio 13-2000",
445 .matches = {
446 DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
447 DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13 - 2000 Notebook PC"),
448 },
449 },
436 {} 450 {}
437}; 451};
438 452