From: Carsten Emde <C.Emde@osadl.org>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] properly enable the blc controller on the right pipe
Date: Thu, 26 Jul 2012 00:35:22 +0200 [thread overview]
Message-ID: <501074AA.1070905@osadl.org> (raw)
In-Reply-To: <500E4F12.9040906@osadl.org>
On 07/24/2012 09:30 AM, Carsten Emde wrote:
> On 07/20/2012 10:10 AM, Daniel Vetter wrote:
>> On Fri, Jul 20, 2012 at 12:51:41AM +0200, Carsten Emde wrote:
>>> On 07/19/2012 04:40 PM, Daniel Vetter wrote:
>>>> Well, the backlight-confusion branch had a bug and outright disabled
>>>> the intel backlight :( drm-intel-next-queued should have fixes for all
>>>> the backlight goofus I've accidentally created, so testing feedback on
>>>> that branch would be highly appreciated.
>>> This branch is now broken again. The original drm-intel-next-queued
>>> branch works well (it still has the quirk), but after I reverted the
>>> Acer quirk, the screen remains dark.
>>>
>>> I double-checked it and used exactly the same patch to revert the
>>> quirk in the two trees: The backlight-confusion branch works, and
>>> the drm-intel-next-queued branch does not.
>>>
>>> I then used drivers/gpu/drm/i915/intel_panel.c from
>>> backlight-confusion in drm-intel-next-queued and - it worked again.
>>> When testing the two differences separately it turned out this patch
>>> did the magic:
>>
>> Yeah, I guess your system only worked whith the old code because it
>> accidentally disabled the entire backlight stuff. Now that that doesn't
>> happen any more, it's as broken as ever.
>>
>> I'll look into creating another patch, afaict from digging through git
>> history, this backlight combination mode is totally bogus. But if we kill
>> it, a few machines will resume with dimmed backlight, because we don't
>> restore the lbpc register properly.
> After all that hassle and bearing in mind that we found only two
> notebooks so far, Acer Aspire 5732Z and 5734Z, that suffer from this
> backlight inversion problem, shouldn't we simply return to the quirk
> solution? I would quickly add the data of the other Acer to the
> backlight quirks, send a rebased patch, and we are all set.
These are the data of the other Acer Aspire that needs backlight inversion.
Index: linux-git/drivers/gpu/drm/i915/intel_display.c
===================================================================
--- linux-git.orig/drivers/gpu/drm/i915/intel_display.c
+++ linux-git/drivers/gpu/drm/i915/intel_display.c
@@ -6877,7 +6877,8 @@ static 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 */
+ /* Acer Aspire 5732Z and 5734Z must invert backlight brightness */
+ { 0x2a42, 0x1025, 0x0212, quirk_invert_brightness },
{ 0x2a42, 0x1025, 0x0459, quirk_invert_brightness },
};
Do you wish me to submit this as a regular patch?
-Carsten.
next prev parent reply other threads:[~2012-07-25 22:40 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 9:32 [PATCH 1/2] drm/i915: clear up backlight inversion confusion on gen4 Daniel Vetter
2012-04-23 9:32 ` [PATCH 2/2] drm/i915: pnv has a backlight polarity control bit, too Daniel Vetter
2012-04-23 10:27 ` Chris Wilson
2012-04-23 9:53 ` [PATCH 1/2] drm/i915: clear up backlight inversion confusion on gen4 Chris Wilson
2012-04-23 12:21 ` Daniel Vetter
2012-04-23 12:32 ` Chris Wilson
2012-04-23 13:48 ` Daniel Vetter
[not found] ` <4F9542EF.3010208@osadl.org>
2012-04-23 12:32 ` Daniel Vetter
2012-04-23 12:36 ` Daniel Vetter
2012-04-23 13:15 ` Carsten Emde
2012-04-23 13:39 ` Daniel Vetter
2012-04-23 14:00 ` Carsten Emde
2012-04-23 14:22 ` Daniel Vetter
2012-04-23 15:06 ` Carsten Emde
2012-04-23 15:22 ` Daniel Vetter
2012-04-23 15:38 ` Carsten Emde
2012-04-23 15:56 ` Daniel Vetter
2012-04-23 16:55 ` Carsten Emde
2012-04-26 16:48 ` [PATCH 0/4] drm/i915: " Carsten Emde
2012-04-26 16:48 ` [PATCH 1/4] drm/i915: " Carsten Emde
2012-04-26 16:48 ` [PATCH 2/4] drm/i915: completely revert the invert brightness quirk Carsten Emde
2012-04-26 16:48 ` [PATCH 3/4] drm/i915: add quirk to indicate that an alt bit is used for brightness inversion Carsten Emde
2012-04-26 17:08 ` Daniel Vetter
2012-04-26 17:25 ` [PATCH] properly enable the blc controller on the right pipe Daniel Vetter
2012-04-26 17:27 ` Daniel Vetter
2012-04-26 19:12 ` Carsten Emde
2012-04-26 19:30 ` Daniel Vetter
2012-04-27 20:18 ` Carsten Emde
2012-06-02 23:08 ` Daniel Vetter
2012-06-11 8:51 ` Daniel Vetter
2012-07-19 14:00 ` Carsten Emde
2012-07-19 14:40 ` Daniel Vetter
2012-07-19 22:51 ` Carsten Emde
2012-07-20 8:10 ` Daniel Vetter
2012-07-24 7:30 ` Carsten Emde
2012-07-25 22:35 ` Carsten Emde [this message]
2012-07-26 11:55 ` [PATCH] drm/i915 disable combination mode Daniel Vetter
2012-07-26 12:20 ` Daniel Vetter
2012-07-26 12:36 ` Daniel Vetter
2012-07-26 14:09 ` Daniel Vetter
2012-04-26 16:48 ` [PATCH 4/4] drm/i915: assign the brightness inversion quirk to Acer Aspire 5734Z Carsten Emde
2012-04-27 16:17 ` [PATCH 0/4] drm/i915: Re: clear up backlight inversion confusion on gen4 Monark Gondaliya
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=501074AA.1070905@osadl.org \
--to=c.emde@osadl.org \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/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;
as well as URLs for NNTP newsgroup(s).