diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-12-04 23:30:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-17 10:49:04 -0800 |
commit | ffedea0f00a4b38c3ce0913b22b742443ab2b03d (patch) | |
tree | 1a560abb831ecf7715c5b4ef083a9beff7b0e2f9 /drivers/acpi | |
parent | cb2bf59bccbdb431ac3020e0ef31489d77b510b5 (diff) | |
download | kernel_samsung_smdk4412-ffedea0f00a4b38c3ce0913b22b742443ab2b03d.zip kernel_samsung_smdk4412-ffedea0f00a4b38c3ce0913b22b742443ab2b03d.tar.gz kernel_samsung_smdk4412-ffedea0f00a4b38c3ce0913b22b742443ab2b03d.tar.bz2 |
ACPI / video: ignore BIOS initial backlight value for HP Folio 13-2000
commit 129ff8f8d58297b04f47b5d6fad81aa2d08404e1 upstream.
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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/video.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 623a335..76f0b94 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -390,6 +390,12 @@ static int __init video_set_bqc_offset(const struct dmi_system_id *d) return 0; } +static int video_ignore_initial_backlight(const struct dmi_system_id *d) +{ + use_bios_initial_backlight = 0; + return 0; +} + static struct dmi_system_id video_dmi_table[] __initdata = { /* * Broken _BQC workaround http://bugzilla.kernel.org/show_bug.cgi?id=13121 @@ -434,6 +440,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7720"), }, }, + { + .callback = video_ignore_initial_backlight, + .ident = "HP Folio 13-2000", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13 - 2000 Notebook PC"), + }, + }, {} }; |