summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Tkhai <tkhai@yandex.ru>2013-10-18 15:56:44 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-25 23:31:19 +0200
commite37f14a5fb85522f3bbf88ece6134c4e610ed598 (patch)
treefca6384f17cd81331c93cb5f4a98168ac5b6eca1
parenta8d52f4495f21da3f47f7318301abf6823ec6648 (diff)
ACPI / video: Ignore BIOS initial backlight value for HP 250 G1
On HP 250 G1 laptops, BIOS reports minimum backlight on boot and causes backlight to dim completely. This ignores the initial backlight values and set to max brightness. References: https://bugzilla.kernel.org/show_bug.cgi?id=63111 Signed-off-by: Kirill Tkhai <tkhai@yandex.ru> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/video.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index d020df5a732a..38c3a28d6392 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -504,6 +504,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion m4 Notebook PC"),
},
},
+ {
+ .callback = video_ignore_initial_backlight,
+ .ident = "HP 250 G1",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G1 Notebook PC"),
+ },
+ },
{}
};