From: Daniel Mack <zonque@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: jbarnes@virtuousgeek.org, harald@redhat.com,
Keith Packard <keithp@keithp.com>,
linux-kernel@vger.kernel.org
Subject: Re: Strange effect with i915 backlight controller
Date: Thu, 10 Nov 2011 16:11:29 +0100 [thread overview]
Message-ID: <4EBBE9A1.8020501@gmail.com> (raw)
In-Reply-To: <4EB87E6A.3060403@gmail.com>
On 11/08/2011 01:57 AM, Daniel Mack wrote:
> Didn't get any response yet, hence copying LKML for a broader audience.
Nobody, really?
This is a rather annoying regression, as touching the brightness keys
appearantly switches off the whole machine. I'm sure this is trivial to
fix, I just don't have the insight of this driver and the chipset.
Any pointer greatly appreciated, and I can test patches.
Thanks,
Daniel
>
> On 11/04/2011 03:36 PM, Daniel Mack wrote:
>> I'm facing a bug on a Samsung X20 notebook which features an i915
>> chipset (output of 'lspci -v' attached).
>>
>> The effect is that setting the backlight to odd values causes the value
>> to be misinterpreted. Harald Hoyer (cc:) had the same thing on a Netbook
>> (I don't recall which model it was).
>>
>> So this will turn the backlight to full brightness:
>>
>> # cat /sys/class/backlight/intel_backlight/max_brightness
>> 29750
>> # echo 29750 > /sys/class/backlight/intel_backlight/brightness
>>
>> However, writing 29749 will turn the display backlight off, and 29748
>> appears to be the next valid lower value.
>>
>> It seems like the IS_PINEVIEW() branch in
>> drivers/gpu/drm/i915/intel_panel.c:intel_panel_actually_set_backlight()
>> could do the right thing, but this code is written for an entirely
>> different model, right?
>>
>> I can reproduce this on 3.0 and 3.1 vanilla as well as with the current
>> mainline git.
>>
>> Let me know if there is any patch that I can test.
>>
>>
>> Thanks,
>> Daniel
>
next prev parent reply other threads:[~2011-11-10 15:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4EB3F860.6010408@gmail.com>
2011-11-08 0:57 ` Strange effect with i915 backlight controller Daniel Mack
2011-11-10 15:11 ` Daniel Mack [this message]
2011-11-10 15:39 ` Takashi Iwai
2011-11-13 16:24 ` Daniel Mack
2011-11-14 10:39 ` Takashi Iwai
2011-11-14 12:03 ` Daniel Mack
2011-11-14 13:05 ` Takashi Iwai
2011-11-16 12:58 ` Daniel Mack
2011-11-16 17:15 ` Takashi Iwai
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=4EBBE9A1.8020501@gmail.com \
--to=zonque@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harald@redhat.com \
--cc=jbarnes@virtuousgeek.org \
--cc=keithp@keithp.com \
--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