Skip to content

Commit badd9b7

Browse files
gmdvieiragregkh
authored andcommitted
ACPI video: ignore BIOS backlight value for HP dm4
commit 771d09b 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>
1 parent 9e1ba6f commit badd9b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/acpi/video.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
471471
DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"),
472472
},
473473
},
474+
{
475+
.callback = video_ignore_initial_backlight,
476+
.ident = "HP Pavilion dm4",
477+
.matches = {
478+
DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
479+
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"),
480+
},
481+
},
474482
{}
475483
};
476484

0 commit comments

Comments
 (0)