diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-01 14:58:46 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-05-01 15:01:00 +0200 |
commit | d68559aee0e6e67a00ef71b9d969872b00505deb (patch) | |
tree | 60c76699445e74cfceca128ec497fe59e6a4d21f | |
parent | 21143b8204f73610ffe7f79ffdb2373bb61382ac (diff) | |
download | kernel-d68559aee0e6e67a00ef71b9d969872b00505deb.tar.gz kernel-d68559aee0e6e67a00ef71b9d969872b00505deb.tar.xz kernel-d68559aee0e6e67a00ef71b9d969872b00505deb.zip |
Add use_native_backlight quirk for 4 laptops (rhbz 983342 1093120)
-rw-r--r-- | 0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch | 100 | ||||
-rw-r--r-- | kernel.spec | 9 |
2 files changed, 109 insertions, 0 deletions
diff --git a/0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch b/0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch new file mode 100644 index 00000000..29da90b3 --- /dev/null +++ b/0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch @@ -0,0 +1,100 @@ +From 5d5ef0e96f03a975feb67f70d57e55cd502885fe Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Wed, 30 Apr 2014 15:24:19 +0200 +Subject: [PATCH] acpi-video: Add 4 new models to the use_native_backlight dmi + list + +Acer Aspire V5-171 +https://bugzilla.redhat.com/show_bug.cgi?id=983342 + +Acer Aspire V5-471G +Lenovo Yoga 2 11 +Reported-and-tested-by: Vincent Gerris <vgerris@gmail.com> + +HP EliteBook 8470p +https://bugzilla.redhat.com/show_bug.cgi?id=1093120 + +Cc: stable@vger.kernel.org +Signed-off-by: Hans de Goede <hdegoede@redhat.com> + +Backport to 3.14, Conflicts: drivers/acpi/video.c, 3.14 is missing the +Thinkpad Helix entry from master add that while at it. +--- + drivers/acpi/video.c | 40 ++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 40 insertions(+) + +diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c +index b6ba88e..083c89f 100644 +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -491,6 +491,22 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .callback = video_set_use_native_backlight, ++ .ident = "Lenovo Yoga 2 11", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), ++ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Yoga 2 11"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, ++ .ident = "Thinkpad Helix", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), ++ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad Helix"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, + .ident = "Dell Inspiron 7520", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), +@@ -507,6 +523,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .callback = video_set_use_native_backlight, ++ .ident = "Acer Aspire V5-171", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Acer"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "V5-171"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, + .ident = "Acer Aspire V5-431", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), +@@ -514,6 +538,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + }, + { ++ .callback = video_set_use_native_backlight, ++ .ident = "Acer Aspire V5-471G", ++ .matches = { ++ DMI_MATCH(DMI_BOARD_VENDOR, "Acer"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "Aspire V5-471G"), ++ }, ++ }, ++ { + .callback = video_set_use_native_backlight, + .ident = "HP ProBook 4340s", + .matches = { +@@ -565,6 +597,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .callback = video_set_use_native_backlight, ++ .ident = "HP EliteBook 8470p", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook 8470p"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, + .ident = "HP EliteBook 8780w", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), +-- +1.9.0 + diff --git a/kernel.spec b/kernel.spec index ea0dc542..e7f9d864 100644 --- a/kernel.spec +++ b/kernel.spec @@ -751,6 +751,9 @@ Patch25068: fanotify-fix-EOVERFLOW-on-64-bit.patch #CVE-2014-3122 rhbz 1093076 1093084 Patch25069: mm-try_to_unmap_cluster-should-lock_page-before-mloc.patch +#rhbz 983342 1093120 +Patch25070: 0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch + # END OF PATCH DEFINITIONS %endif @@ -1456,6 +1459,9 @@ ApplyPatch fanotify-fix-EOVERFLOW-on-64-bit.patch #CVE-2014-3122 rhbz 1093076 1093084 ApplyPatch mm-try_to_unmap_cluster-should-lock_page-before-mloc.patch +#rhbz 983342 1093120 +ApplyPatch 0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch + # END OF PATCH APPLICATIONS %endif @@ -2267,6 +2273,9 @@ fi # ||----w | # || || %changelog +* Thu May 1 2014 Hans de Goede <hdegoede@redhat.com> +- Add use_native_backlight quirk for 4 laptops (rhbz 983342 1093120) + * Wed Apr 30 2014 Josh Boyer <jwboyer@fedoraproject.org> - CVE-2014-3122: mm: fix locking DoS issue (rhbz 1093084 1093076) |