Backport intel brightness quirk for emachines (rhbz 871932)

This commit is contained in:
Josh Boyer 2013-04-09 08:43:44 -04:00
parent fbcca03d1b
commit d79c154aba
2 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,36 @@
From 0bc8d69a3bbbb261fdaadd759adbd8e60da72e36 Mon Sep 17 00:00:00 2001
From: Jani Nikula <jani.nikula@intel.com>
Date: Tue, 22 Jan 2013 12:50:35 +0200
Subject: [PATCH] drm/i915: add quirk to invert brightness on eMachines e725
Upstream commit 01e3a8feb40e54b962a20fa7eb595c5efef5e109
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=31522#c35
[Note: There are more than one broken setups in the bug. This fixes one.]
Reported-by: Martins <andrissr@inbox.lv>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
drivers/gpu/drm/i915/intel_display.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index e6e4df7..6292677 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8899,6 +8899,12 @@ static struct intel_quirk intel_quirks[] = {
/* Acer Aspire 5734Z must invert backlight brightness */
{ 0x2a42, 0x1025, 0x0459, quirk_invert_brightness },
+ /* Acer/eMachines G725 */
+ { 0x2a42, 0x1025, 0x0210, quirk_invert_brightness },
+
+ /* Acer/eMachines e725 */
+ { 0x2a42, 0x1025, 0x0212, quirk_invert_brightness },
+
/* Acer Aspire 4736Z */
{ 0x2a42, 0x1025, 0x0260, quirk_invert_brightness },
};
--
1.8.1.4

View File

@ -62,7 +62,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
#
%global baserelease 202
%global baserelease 203
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@ -795,6 +795,9 @@ Patch25008: 0001-bluetooth-Add-support-for-atheros-04ca-3004-device-t.patch
#rhbz 908604
Patch25009: HID-magicmouse-fix-race-between-input_register-and-probe.patch
#rhbz 871932
Patch25010: 0001-drm-i915-add-quirk-to-invert-brightness-on-eMachines.patch
# END OF PATCH DEFINITIONS
%endif
@ -1539,6 +1542,9 @@ ApplyPatch 0001-bluetooth-Add-support-for-atheros-04ca-3004-device-t.patch
#rhbz 908604
ApplyPatch HID-magicmouse-fix-race-between-input_register-and-probe.patch
#rhbz 871932
ApplyPatch 0001-drm-i915-add-quirk-to-invert-brightness-on-eMachines.patch
# END OF PATCH APPLICATIONS
%endif
@ -2396,6 +2402,9 @@ fi
# ||----w |
# || ||
%changelog
* Mon Apr 09 2013 Josh Boyer <jwboyer@redhat.com>
- Backport intel brightness quirk for emachines (rhbz 871932)
* Mon Apr 8 2013 Peter Robinson <pbrobinson@fedoraproject.org>
- Enable CMA on ARM tegra
- Minor tweeks to ARM OMAP