summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Emde <C.Emde@osadl.org>2012-03-15 15:56:27 +0100
committerBen Hutchings <ben@decadent.org.uk>2013-04-25 20:25:45 +0100
commitbc1ffeaf0cacbf7c3fdaa370f601b120140d38f4 (patch)
tree1c3f8fe8e85870bb7fb5f5b5af1c55dbd9a7e3e9
parente1eb40b7e10a98a0895aaf7c78580e89fc494375 (diff)
downloadlinux-stable-bc1ffeaf0cacbf7c3fdaa370f601b120140d38f4.tar.gz
linux-stable-bc1ffeaf0cacbf7c3fdaa370f601b120140d38f4.tar.bz2
linux-stable-bc1ffeaf0cacbf7c3fdaa370f601b120140d38f4.zip
drm/i915: panel: invert brightness acer aspire 5734z
commit 5a15ab5b93e4a3ebcd4fa6c76cf646a45e9cf806 upstream. Mark the Acer Aspire 5734Z that this machines requires the module to invert the panel backlight brightness value after reading from and prior to writing to the PCI configuration space. Signed-off-by: Carsten Emde <C.Emde@osadl.org> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index b096c0e74cc5..2de874c34c2f 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8832,7 +8832,8 @@ static void quirk_ssc_force_disable(struct drm_device *dev)
}
/*
- * A machine may need to invert the panel backlight brightness value
+ * A machine (e.g. Acer Aspire 5734Z) may need to invert the panel backlight
+ * brightness value
*/
static void quirk_invert_brightness(struct drm_device *dev)
{
@@ -8874,6 +8875,9 @@ struct intel_quirk intel_quirks[] = {
/* Sony Vaio Y cannot use SSC on LVDS */
{ 0x0046, 0x104d, 0x9076, quirk_ssc_force_disable },
+
+ /* Acer Aspire 5734Z must invert backlight brightness */
+ { 0x2a42, 0x1025, 0x0459, quirk_invert_brightness },
};
static void intel_init_quirks(struct drm_device *dev)