2014-08-22 16:08:11 +00:00
|
|
|
From 996fcd02a150d5782016f4579c3a641001d6f325 Mon Sep 17 00:00:00 2001
|
2014-06-03 14:03:36 +00:00
|
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
Date: Mon, 2 Jun 2014 17:41:10 +0200
|
2014-08-20 17:22:24 +00:00
|
|
|
Subject: [PATCH] acpi-video: Add use native backlight quirk for the ThinkPad
|
|
|
|
W530
|
2014-06-03 14:03:36 +00:00
|
|
|
|
|
|
|
Like all of the other *30 ThinkPad models, the W530 has a broken acpi-video
|
|
|
|
backlight control. Note in order for this to actually fix things on the
|
|
|
|
ThinkPad W530 the commit titled:
|
|
|
|
"nouveau: Don't check acpi_video_backlight_support() before registering backlight"
|
|
|
|
is also needed.
|
|
|
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1093171
|
|
|
|
|
2014-08-20 17:22:24 +00:00
|
|
|
Bugzilla: 1093171
|
|
|
|
Upstream-status: Queued for 3.16
|
|
|
|
|
2014-06-03 14:03:36 +00:00
|
|
|
Cc: stable@vger.kernel.org
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
---
|
|
|
|
drivers/acpi/video.c | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
|
2014-08-20 17:22:24 +00:00
|
|
|
index bef6c393e8a0..eb82264d9ef9 100644
|
2014-06-03 14:03:36 +00:00
|
|
|
--- a/drivers/acpi/video.c
|
|
|
|
+++ b/drivers/acpi/video.c
|
2014-08-20 17:22:24 +00:00
|
|
|
@@ -463,6 +463,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
|
2014-06-03 14:03:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
.callback = video_set_use_native_backlight,
|
|
|
|
+ .ident = "ThinkPad W530",
|
|
|
|
+ .matches = {
|
|
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
|
|
|
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W530"),
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .callback = video_set_use_native_backlight,
|
|
|
|
.ident = "ThinkPad X230",
|
|
|
|
.matches = {
|
|
|
|
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
|
|
|
--
|
2014-08-20 17:22:24 +00:00
|
|
|
1.9.3
|
2014-06-03 14:03:36 +00:00
|
|
|
|