diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2014-06-03 10:03:36 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2014-06-03 10:14:23 -0400 |
commit | e6a4d30f1b5f845c8871fd6cc0f41737995431a3 (patch) | |
tree | 3761305fcfcb53150827196a1c00d417af8a5e1e /acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch | |
parent | 51fdf98b4786bf43e0b3ae63faca3d2a4888de8f (diff) | |
download | kernel-e6a4d30f1b5f845c8871fd6cc0f41737995431a3.tar.gz kernel-e6a4d30f1b5f845c8871fd6cc0f41737995431a3.tar.xz kernel-e6a4d30f1b5f845c8871fd6cc0f41737995431a3.zip |
Use native backlight for newer laptop models with nvidia and ati GPUs (rhbz 1093171)
From: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch')
-rw-r--r-- | acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch b/acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch new file mode 100644 index 000000000..f3d36889f --- /dev/null +++ b/acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch @@ -0,0 +1,45 @@ +Bugzilla: 1093171 +Upstream-status: Queued for 3.16 + +From 7ac976d0109433d1ad0812f4f6889a904d9a0c40 Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Mon, 2 Jun 2014 17:41:10 +0200 +Subject: [PATCH 13/14] acpi-video: Add use native backlight quirk for the + ThinkPad W530 + +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 + +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 +index ab7cd65ce21e..dcb0ef4c22f6 100644 +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -468,6 +468,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .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"), +-- +1.9.0 + |