summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@redhat.com>2015-02-11 12:32:57 -0600
committerJustin M. Forbes <jforbes@redhat.com>2015-02-11 12:32:57 -0600
commit2384fb4b3e877c260dc93002ea4ff974f5c01ccf (patch)
tree7dd118117cc3ad992f547cddd0dd97e027fdafb0
parentb95d59c7fc90d656d1ccc339bb644578a79e339a (diff)
downloadkernel-2384fb4b3e877c260dc93002ea4ff974f5c01ccf.tar.gz
kernel-2384fb4b3e877c260dc93002ea4ff974f5c01ccf.tar.xz
kernel-2384fb4b3e877c260dc93002ea4ff974f5c01ccf.zip
Add disable_native_backlight quirk for Samsung 510R (rhbz 1186097)
-rw-r--r--acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch39
-rw-r--r--kernel.spec7
2 files changed, 46 insertions, 0 deletions
diff --git a/acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch b/acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch
new file mode 100644
index 00000000..9a123dd4
--- /dev/null
+++ b/acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch
@@ -0,0 +1,39 @@
+From b29c0d36da67a64f5de1fe167c0b807815aa1da4 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Wed, 4 Feb 2015 14:44:51 +0100
+Subject: [PATCH 2/2] acpi-video: Add disable_native_backlight quirk for
+ Samsung 510R
+
+Backlight control through the native intel interface does not work properly
+on the Samsung 510R, where as using the acpi_video interface does work, add
+a quirk for this.
+
+BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1186097
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ drivers/acpi/video.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
+index 497d986..88a4f99 100644
+--- a/drivers/acpi/video.c
++++ b/drivers/acpi/video.c
+@@ -523,6 +523,15 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
+ },
+ },
+ {
++ /* https://bugzilla.redhat.com/show_bug.cgi?id=1186097 */
++ .callback = video_disable_native_backlight,
++ .ident = "SAMSUNG 3570R/370R/470R/450R/510R/4450RV",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
++ DMI_MATCH(DMI_PRODUCT_NAME, "3570R/370R/470R/450R/510R/4450RV"),
++ },
++ },
++ {
+ /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */
+ .callback = video_disable_native_backlight,
+ .ident = "SAMSUNG 730U3E/740U3E",
+--
+2.1.0
+
diff --git a/kernel.spec b/kernel.spec
index d4655756..319886c8 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -638,6 +638,9 @@ Patch30002: ipv4-try-to-cache-dst_entries-which-would-cause-a-re.patch
#rhbz 1188074
Patch30003: 0001-ntp-Fixup-adjtimex-freq-validation-on-32bit-systems.patch
+#rhbz 1186097
+Patch30004: acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch
+
# END OF PATCH DEFINITIONS
%endif
@@ -1381,6 +1384,9 @@ ApplyPatch ipv4-try-to-cache-dst_entries-which-would-cause-a-re.patch
#rhbz 1188074
ApplyPatch 0001-ntp-Fixup-adjtimex-freq-validation-on-32bit-systems.patch
+#rhbz 1186097
+ApplyPatch acpi-video-add-disable_native_backlight_quirk_for_samsung_510r.patch
+
%if 0%{?aarch64patches}
ApplyPatch kernel-arm64.patch
%ifnarch aarch64 # this is stupid, but i want to notice before secondary koji does.
@@ -2253,6 +2259,7 @@ fi
%changelog
* Wed Feb 11 2015 Justin M. Forbes <jforbes@fedoraproject.org> - 3.18.7-200
- Linux v3.18.7
+- Add disable_native_backlight quirk for Samsung 510R (rhbz 1186097)
* Fri Feb 06 2015 Justin M. Forbes <jforbes@fedoraproject.org> - 3.18.6-200
- Linux v3.18.6