ACPI video: ignore BIOS backlight value for HP dm4
authorGustavo Maciel Dias Vieira <gustavo@sagui.org>
Mon, 4 Mar 2013 15:23:37 +0000 (15:23 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 22:01:46 +0000 (23:01 +0100)
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>
drivers/acpi/video.c

index 313f959413dc09a89c8a8262957b35081b1e2b0b..f8a28b39b88a52440f2dcd79539c9a934bd256ce 100644 (file)
@@ -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"),
+               },
+       },
        {}
 };