[Intel-gfx] Legacy backlight control with KMS and BACKLIGHT property

Matthias Hopf mhopf at suse.de
Fri Aug 14 19:54:05 CEST 2009


Currently with KMS legacy backlight control isn't working at all.
Also, the driver doesn't expose the BACKLIGHT RandR property in any
case, so xbacklight doesn't work with KMS.

I've been working on a patch as a quick-hack for this (attached; please
DON'T apply), and am finally understanding enough to actually implement
this correctly together with GregKH.


What we're supposing is

- a kernel driver for the /sys/class/backlight/ api for the legacy method
- support in the driver to actually open this one (trivial)
- support for the BACKLIGHT property in KMS case, *only* using the
  kernel api method for now (will need some abstraction)


Also I noted that the BACKLIGHT property is

- not preceeded with _
- not yet documented in randrproto.txt

I suggest that I add this in randrproto.txt, as it seems plausible to me
to actually make this a known property.


Does this sound reasonable?

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86-video-intel-2.8.0-backlight.diff
Type: text/x-patch
Size: 9981 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090814/818f252c/attachment.bin>


More information about the Intel-gfx mailing list