[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-11 Thread David Herrmann
Hi On Thu, Sep 11, 2014 at 3:06 PM, Daniel Vetter wrote: > On Thu, Sep 11, 2014 at 02:22:55PM +0200, David Herrmann wrote: >> actual-brightness is a bit more tricky. Currently, DRM caches property >> values, so there is no read_property() hook. We'd have to add this. >> But it'll be quite nasty a

[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-11 Thread Jani Nikula
On Thu, 11 Sep 2014, Daniel Vetter wrote: > On Wed, Sep 10, 2014 at 05:54:23PM +0200, David Herrmann wrote: >> Backlight devices have always been managed independently of display >> controllers. They're often controlled via different hardware interfaces >> and their relationship to display-control

[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-11 Thread Daniel Vetter
On Thu, Sep 11, 2014 at 02:22:55PM +0200, David Herrmann wrote: > Hi > > On Thu, Sep 11, 2014 at 8:48 AM, Daniel Vetter wrote: > > Nice you skid around all the pitfalls and trapdoors, I guess we've all > > been rather blind ;-) > > > > Two high-level comments: > > - We also want to forward "bl_po

[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-11 Thread David Herrmann
Hi On Thu, Sep 11, 2014 at 8:48 AM, Daniel Vetter wrote: > Nice you skid around all the pitfalls and trapdoors, I guess we've all > been rather blind ;-) > > Two high-level comments: > - We also want to forward "bl_power". cros was totally not happy when we > stopped treating brightness == 0 as

[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-11 Thread Daniel Vetter
On Wed, Sep 10, 2014 at 05:54:23PM +0200, David Herrmann wrote: > Backlight devices have always been managed independently of display > controllers. They're often controlled via different hardware interfaces > and their relationship to display-controllers varies vastly between > different boards. H

[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-11 Thread Matthew Garrett
One extreme case - apple_gmux needs to be mapped to both the internal and discrete gpu. The same may be true for some other platform drivers on multi-gpu systems. Matthew Garrett | matthew.garrett at nebula.com -- next part -- An HTML attachment was scrubbed... URL:

[PATCH RFC 4/4] drm: link connectors to backlight devices

2014-09-10 Thread David Herrmann
Backlight devices have always been managed independently of display controllers. They're often controlled via different hardware interfaces and their relationship to display-controllers varies vastly between different boards. However, display brightness is obviously a property of a display, and thu