summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video.c
diff options
context:
space:
mode:
authorGustavo Maciel Dias Vieira <gustavo@sagui.org>2013-03-04 16:23:37 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-03-24 23:01:46 +0100
commit771d09b3c4c45d4d534a83a68e6331b97fd82e15 (patch)
tree08533a2bf27a326e2ebb06e69b117856a5f27c8d /drivers/acpi/video.c
parentLinux 3.9-rc4 (diff)
downloadlinux-771d09b3c4c45d4d534a83a68e6331b97fd82e15.tar.xz
linux-771d09b3c4c45d4d534a83a68e6331b97fd82e15.zip
ACPI video: ignore BIOS backlight value for HP dm4
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>
Diffstat (limited to 'drivers/acpi/video.c')
-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 313f959413dc..f8a28b39b88a 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -447,6 +447,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13 - 2000 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"),
+ },
+ },
{}
};