summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2013-05-06 10:23:43 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-12 14:03:14 +0200
commit4ef366c583d6180b1c951147869ee5a3038834f2 (patch)
treecb59211f6efaff1e8e9d2fe1b38503778091efc5 /drivers/acpi/video.c
parentACPI: Fix section to __init. Align with usage in acpixf.h (diff)
downloadlinux-4ef366c583d6180b1c951147869ee5a3038834f2.tar.xz
linux-4ef366c583d6180b1c951147869ee5a3038834f2.zip
ACPI video: ignore BIOS initial backlight value for HP 1000
On HP 1000 lapops, 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://bugs.launchpad.net/bugs/1167760 Signed-off-by: Alex Hung <alex.hung@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
-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 c3932d0876e0..5b32e15a65ce 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"),
},
},
+ {
+ .callback = video_ignore_initial_backlight,
+ .ident = "HP 1000 Notebook PC",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"),
+ },
+ },
{}
};