From: Carsten Emde <C.Emde@osadl.org>
To: David Airlie <airlied@linux.ie>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Valdis Kletnieks <Valdis.Kletnieks@vt.edu>,
Thomas Gleixner <tglx@linutronix.de>,
Keith Packard <keithp@keithp.com>,
Paul Menzel <paulepanter@users.sourceforge.net>,
Chris Wilson <chris@chris-wilson.co.uk>,
Carsten Emde <C.Emde@osadl.org>,
DRI <dri-devel@lists.freedesktop.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: [V5 PATCH 4/4] drivers-gpu-drm-i915-panel-invert-brightness-acer-aspire-5734z.patch
Date: Thu, 15 Mar 2012 15:56:27 +0100 [thread overview]
Message-ID: <20120315145829.555961411@osadl.org> (raw)
In-Reply-To: 20120315145623.486070468@osadl.org
[-- Attachment #1: drivers-gpu-drm-i915-panel-invert-brightness-acer-aspire-5734z.patch --]
[-- Type: text/plain, Size: 1228 bytes --]
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>
---
drivers/gpu/drm/i915/intel_display.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: linux-3.3-rc7/drivers/gpu/drm/i915/intel_display.c
===================================================================
--- linux-3.3-rc7.orig/drivers/gpu/drm/i915/intel_display.c
+++ linux-3.3-rc7/drivers/gpu/drm/i915/intel_display.c
@@ -8951,7 +8951,8 @@ static void quirk_ssc_force_disable(stru
}
/*
- * 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)
{
@@ -8993,6 +8994,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)
next prev parent reply other threads:[~2012-03-15 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 14:56 [V5 PATCH 0/4] Provide workarounds to use DRM/KMS with broken graphics hardware Carsten Emde
2012-03-15 14:56 ` [V5 PATCH 1/4] drivers-gpu-drm-allow-to-load-edid-firmware.patch Carsten Emde
2012-03-18 2:39 ` Valdis.Kletnieks
2012-03-15 14:56 ` [V5 PATCH 2/4] drivers-gpu-drm-i915-panel-invert-brightness-via-parameter.patch Carsten Emde
2012-03-15 15:15 ` Chris Wilson
2012-03-15 14:56 ` [V5 PATCH 3/4] drivers-gpu-drm-i915-panel-invert-brightness-via-quirk.patch Carsten Emde
2012-03-15 15:15 ` Chris Wilson
2012-03-15 14:56 ` Carsten Emde [this message]
2012-03-15 15:16 ` [V5 PATCH 4/4] drivers-gpu-drm-i915-panel-invert-brightness-acer-aspire-5734z.patch Chris Wilson
2012-03-18 19:00 ` [V5 PATCH 0/4] Provide workarounds to use DRM/KMS with broken graphics hardware Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120315145829.555961411@osadl.org \
--to=c.emde@osadl.org \
--cc=Valdis.Kletnieks@vt.edu \
--cc=airlied@linux.ie \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=keithp@keithp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulepanter@users.sourceforge.net \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox