X86 platform drivers
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Marco Chiappero <marco@absence.it>
Cc: platform-driver-x86@vger.kernel.org,
	Javier Achirica <achirica@gmail.com>,
	Mattia Dongili <malattia@linux.it>
Subject: Re: Commit 7751ab8e600f26e10c2ba12a92d48a4852a51da8
Date: Wed, 13 Apr 2011 17:53:44 +0100	[thread overview]
Message-ID: <20110413165344.GA739@srcf.ucam.org> (raw)
In-Reply-To: <4DA5D45A.9070901@absence.it>

On Wed, Apr 13, 2011 at 06:50:34PM +0200, Marco Chiappero wrote:

> I agree. The DSDT of any ALS equipped Vaio provides us 9 backlight
> levels (that are LCD/model specific), so the first and the last ones
> define our useful operating range, which is always different from
> 0-255 (eg. 13-255 for the Vaio S, 52-255 for the Vaio F, 7-182 for
> the Vaio Z, 7-213 for the Vaio TT and so on). However the code to
> retrieve and use those lower and upper bounds is still lacking
> upstream (I, Javier Achirica and many other people are testing a
> heavily modified sony-laptop.c written by us which includes lots of
> features that we might include soon, but there is no patchset yet).
> Moreover it is questionable whether to expose this "wire-range"/fine
> grain backlight device, which is intended to be used for an ambient
> light based regulation (that requires smooth transitions and
> sometimes minimal changes), while for normal backlight operations
> the 9 levels already mentioned should suffice.

Can this code be merged within the next week? If not I agree that it'd 
be better to drop this patch for now. I think exposing the full range of 
(usable) brightness values makes sense, since ALS policy is likely to be 
determined in userspace - we'll need some way to expose the appropriate 
mapping, but that's something that needs to be handled generically in 
the long run.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2011-04-13 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 16:17 Commit 7751ab8e600f26e10c2ba12a92d48a4852a51da8 Marco Chiappero
2011-04-12 15:20 ` Matthew Garrett
2011-04-13 16:50   ` Marco Chiappero
2011-04-13 16:53     ` Matthew Garrett [this message]
2011-04-14  7:37       ` Marco Chiappero
2011-04-14 22:42       ` Mattia Dongili
2011-04-16 13:04         ` [PATCH] sony-laptop: limit brightness range to DSDT provided ones Mattia Dongili

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=20110413165344.GA739@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=achirica@gmail.com \
    --cc=malattia@linux.it \
    --cc=marco@absence.it \
    --cc=platform-driver-x86@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