39c21e4
From 2bf95b9ebff45a50f9c31fffd256510d0667abd8 Mon Sep 17 00:00:00 2001
f22ebd0
From: Hans de Goede <hdegoede@redhat.com>
f22ebd0
Date: Wed, 30 Apr 2014 15:24:19 +0200
6a91557
Subject: [PATCH] acpi-video: Add 4 new models to the use_native_backlight dmi
6a91557
 list
f22ebd0
f22ebd0
Acer Aspire V5-171
f22ebd0
https://bugzilla.redhat.com/show_bug.cgi?id=983342
f22ebd0
f22ebd0
Acer Aspire V5-471G
f22ebd0
Lenovo Yoga 2 11
f22ebd0
Reported-and-tested-by: Vincent Gerris <vgerris@gmail.com>
f22ebd0
f22ebd0
HP EliteBook 8470p
f22ebd0
https://bugzilla.redhat.com/show_bug.cgi?id=1093120
f22ebd0
f22ebd0
Cc: stable@vger.kernel.org
f22ebd0
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
f22ebd0
---
f22ebd0
 drivers/acpi/video.c | 32 ++++++++++++++++++++++++++++++++
f22ebd0
 1 file changed, 32 insertions(+)
f22ebd0
f22ebd0
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
6a91557
index a9fa83829ee4..bef6c393e8a0 100644
f22ebd0
--- a/drivers/acpi/video.c
f22ebd0
+++ b/drivers/acpi/video.c
6a91557
@@ -550,6 +550,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
f22ebd0
 		},
f22ebd0
 	},
f22ebd0
 	{
f22ebd0
+	 .callback = video_set_use_native_backlight,
f22ebd0
+	 .ident = "Lenovo Yoga 2 11",
f22ebd0
+	 .matches = {
f22ebd0
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
f22ebd0
+		DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Yoga 2 11"),
f22ebd0
+		},
f22ebd0
+	},
f22ebd0
+	{
f22ebd0
 	.callback = video_set_use_native_backlight,
f22ebd0
 	.ident = "Thinkpad Helix",
f22ebd0
 	.matches = {
6a91557
@@ -591,6 +599,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
f22ebd0
 	},
f22ebd0
 	{
f22ebd0
 	 .callback = video_set_use_native_backlight,
f22ebd0
+	 .ident = "Acer Aspire V5-171",
f22ebd0
+	 .matches = {
f22ebd0
+		DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
f22ebd0
+		DMI_MATCH(DMI_PRODUCT_NAME, "V5-171"),
f22ebd0
+		},
f22ebd0
+	},
f22ebd0
+	{
f22ebd0
+	 .callback = video_set_use_native_backlight,
f22ebd0
 	 .ident = "Acer Aspire V5-431",
f22ebd0
 	 .matches = {
f22ebd0
 		DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
6a91557
@@ -638,6 +654,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
f22ebd0
 		},
f22ebd0
 	},
f22ebd0
 	{
f22ebd0
+	 .callback = video_set_use_native_backlight,
f22ebd0
+	 .ident = "Acer Aspire V5-471G",
f22ebd0
+	 .matches = {
f22ebd0
+		DMI_MATCH(DMI_BOARD_VENDOR, "Acer"),
f22ebd0
+		DMI_MATCH(DMI_PRODUCT_NAME, "Aspire V5-471G"),
f22ebd0
+		},
f22ebd0
+	},
f22ebd0
+	{
f22ebd0
 	.callback = video_set_use_native_backlight,
f22ebd0
 	.ident = "HP ProBook 4340s",
f22ebd0
 	.matches = {
6a91557
@@ -714,6 +738,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
f22ebd0
 	},
f22ebd0
 	{
f22ebd0
 	.callback = video_set_use_native_backlight,
f22ebd0
+	.ident = "HP EliteBook 8470p",
f22ebd0
+	.matches = {
f22ebd0
+		DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
f22ebd0
+		DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook 8470p"),
f22ebd0
+		},
f22ebd0
+	},
f22ebd0
+	{
f22ebd0
+	.callback = video_set_use_native_backlight,
f22ebd0
 	.ident = "HP EliteBook 8780w",
f22ebd0
 	.matches = {
f22ebd0
 		DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
f22ebd0
-- 
6a91557
1.9.3
f22ebd0