[PATCH 4/4] drm/i915: assign the brightness inversion quirk to Acer Aspire 5734Z

Carsten Emde
2012-04-26T17:00:13Z

[-- Attachment #1: drivers-gpu-drm-i915-panel-quirk-alt-bit-brightness-inversion-acer-aspire-5734z.patch --]
[-- Type: text/plain, Size: 919 bytes --]

The Acer Aspire 5734Z uses bit #29 instead of bit #28 to indicate that
the panel backlight brightness is inverted. Assign it to the related
quirk.

Signed-off-by: Carsten Emde <C.Emde@osadl.org>

---
drivers/gpu/drm/i915/intel_display.c | 6 ++++++
1 file changed, 6 insertions(+)

Index: linux-tip/drivers/gpu/drm/i915/intel_display.c
===================================================================
--- linux-tip.orig/drivers/gpu/drm/i915/intel_display.c
+++ linux-tip/drivers/gpu/drm/i915/intel_display.c
@@ -9143,6 +9143,12 @@ struct intel_quirk intel_quirks[] = {

/* Sony Vaio Y cannot use SSC on LVDS */
{ 0x0046, 0x104d, 0x9076, quirk_ssc_force_disable },
+
+ /*
+ * Acer Aspire 5734Z uses an alternate bit to indicate
+ * panel backlight brightness inversion
+ */
+ { 0x2a42, 0x1025, 0x0459, quirk_alt_bit_for_brightness_inversion },
};

static void intel_init_quirks(struct drm_device *dev)