lkml.org 
[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: i915/kms/backlight-combo mode problem
From
2011/5/16 Melchior FRANZ <melchior.franz@gmail.com>:

> I don't even know what an LBPC is, other than a variable named like that.
> So I'd need a hint for how to test that.

It resides at your vga adapter's pci configuration space, offset 0xf4.

You can know your LPBC value by:
$ lspci -xxx -s 00:02.0 | awk '/^f0:/ {print $6}'

And alter it's value via setpci (assuming set it to max)
$ setpci -s 00:02.0 F4.B=ff

I assume you've tried this .. as you report setpci works for you. :)

From your new attached log, In booting phase your LPBC is set to 255
and actual brightness is maximum (255*2890=736950). I see no other
change after it until manual brightness change. This is a totally
reversed to your problem.

Could you help to get the LPBC value in the initial dark condition? If
it's not corresponds to 255, maybe something sneaks and changes it but
not logged.

[ 3.125522] [drm:is_backlight_combination_mode],
BLM_COMBINATION_MODE = 1073741824
[ 3.125525] [drm:intel_panel_get_max_backlight], max backlight PWM = 736950
[ 3.125527] [drm:intel_panel_set_backlight], set backlight PWM = 736950
[ 3.125529] [drm:is_backlight_combination_mode],
BLM_COMBINATION_MODE = 1073741824
[ 3.125531] [drm:is_backlight_combination_mode],
BLM_COMBINATION_MODE = 1073741824
[ 3.125533] [drm:intel_panel_get_max_backlight], max backlight PWM = 736950
[ 3.125535] [drm:intel_panel_set_backlight], set backlight max = 736950
[ 3.125537] [drm:intel_panel_set_backlight], set backlight lbpc = 255
[ 3.125544] [drm:intel_panel_set_backlight], set backlight level = 2890

> Yes, that's the case. (Except that after closing the lid it's off again.)

Maybe this is another clue for root cause. Would it be convenient for
you to gather the log?

1. $ dmesg -c
2. Close the lid
3. Open the lid
4. $ dmesg > dmesg.lid

Thanks a lot,
Michael Chang


\
 
 \ /
  Last update: 2011-05-17 09:59    [W:0.087 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site