aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2013-05-28 02:05:09 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-13 09:44:58 -0700
commit871483faa88417bcec82ed20050c758cbf65a5ca (patch)
tree83bb36cf041c88becc5c05958ee9df26aeb4a529
parentc88c5035b860bc6f2e6d3c52194af1930f56b81e (diff)
ACPI / video: ignore BIOS initial backlight value for HP m4
commit fedbe9bc6fd3e14b1ffbb3dac407777ac4a3650c upstream. On HP m4 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/1184501 Signed-off-by: Alex Hung <alex.hung@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.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 91357e1a1a8..753b766208f 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 m4",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion m4 Notebook PC"),
+ },
+ },
{}
};