aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Maciel Dias Vieira <gustavo@sagui.org>2013-03-04 15:23:37 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 10:51:22 -0700
commitbadd9b71c5651a687d042966a5fa8d195e9cffe4 (patch)
treefceb0cef425e6cee8b7d9d94cdf4106b73e575c8
parent9e1ba6fccd86b50c3d893e5128515f355df6b066 (diff)
ACPI video: ignore BIOS backlight value for HP dm4
commit 771d09b3c4c45d4d534a83a68e6331b97fd82e15 upstream. On a HP Pavilion dm4 laptop the BIOS sets minimum backlight on boot, completely dimming the screen. Ignore this initial value for this machine. Signed-off-by: Gustavo Maciel Dias Vieira <gustavo@sagui.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> [wyj: Backported to 3.4: adjust context] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 4d608fccee1..8c5ad89a65a 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -471,6 +471,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"),
},
},
+ {
+ .callback = video_ignore_initial_backlight,
+ .ident = "HP Pavilion dm4",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"),
+ },
+ },
{}
};