public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Alex Deucher <alexdeucher@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Dave Airlie <airlied@redhat.com>
Subject: Re: drm/radeon/kms: fix up LVDS handling on macs (v2)
Date: Thu, 14 Jan 2010 11:09:41 +0100	[thread overview]
Message-ID: <1263463781.3544.4714.camel@thor> (raw)
In-Reply-To: <1263437142.724.320.camel@pasglop>

On Thu, 2010-01-14 at 13:45 +1100, Benjamin Herrenschmidt wrote: 
> On Thu, 2010-01-14 at 00:59 +0000, Linux Kernel Mailing List wrote:
> > Gitweb:     http://git.kernel.org/linus/3890ddf56dbc0f804953198e65a7e406ed654576
> > Commit:     3890ddf56dbc0f804953198e65a7e406ed654576
> > Parent:     804c7559e9376c3ba78ae15a30337b1e24f8ae80
> > Author:     Alex Deucher <alexdeucher@gmail.com>
> > AuthorDate: Tue Jan 12 11:16:57 2010 -0500
> > Committer:  Dave Airlie <airlied@redhat.com>
> > CommitDate: Wed Jan 13 13:25:08 2010 +1000
> > 
> >     drm/radeon/kms: fix up LVDS handling on macs (v2)
> >     
> >     Based on radeonfb code and recent ddx fix.
> >     
> >     v2: minor formatting fix from Michel Dänzer
> >     
> >     Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
> >     Reviewed-by: Michel Dänzer <michel@daenzer.net>
> >     Tested-by: Michel Dänzer <michel@daenzer.net>
> >     Signed-off-by: Dave Airlie <airlied@redhat.com>
> 
> I have to dbl check that ... but I think the "Real" issue is that some
> panel have inverted polarity on the PWM signal. Thus if BLON is turned
> off the panels goes full backlight instead among other things :-)
> 
> However, not all macs are the same. If you look at the radeonfb code,
> we do things differently depending on the mac model...

I have looked at radeonfb for a patch I posted a while ago to expose a
backlight class device with KMS, and I can only see what you describe
above affecting the LVDS_GEN_CNTL backlight level, not BLON or
BL_MOD_EN. Am I missing something?

Without my patch, KMS doesn't change the backlight level at all, so
assuming the firmware manages to enable the backlight, it should stay
like that.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

  reply	other threads:[~2010-01-14 10:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201001140059.o0E0x4wS006650@hera.kernel.org>
2010-01-14  2:45 ` drm/radeon/kms: fix up LVDS handling on macs (v2) Benjamin Herrenschmidt
2010-01-14 10:09   ` Michel Dänzer [this message]
2010-01-15  3:35     ` Benjamin Herrenschmidt
2010-01-15 13:49       ` Alex Deucher

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=1263463781.3544.4714.camel@thor \
    --to=michel@daenzer.net \
    --cc=airlied@redhat.com \
    --cc=alexdeucher@gmail.com \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.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