On Thu, Sep 11, 2014 at 01:14:31PM +0200, David Herrmann wrote:
> Hi
>
> On Thu, Sep 11, 2014 at 1:10 PM, Thierry Reding
> wrote:
> > On Wed, Sep 10, 2014 at 05:54:22PM +0200, David Herrmann wrote:
> > [...]
> >> +void backlight_set_brightness(struct backlight_device *bd, unsigned int
> >> value
Hi
On Thu, Sep 11, 2014 at 1:10 PM, Thierry Reding
wrote:
> On Wed, Sep 10, 2014 at 05:54:22PM +0200, David Herrmann wrote:
> [...]
>> +void backlight_set_brightness(struct backlight_device *bd, unsigned int
>> value,
>> + enum backlight_update_reason reason)
>> +{
>> +
On Wed, Sep 10, 2014 at 05:54:22PM +0200, David Herrmann wrote:
[...]
> +void backlight_set_brightness(struct backlight_device *bd, unsigned int
> value,
> + enum backlight_update_reason reason)
> +{
> + mutex_lock(&bd->ops_lock);
> + if (bd->ops) {
> +
So far backlights have only been controlled via sysfs. However, sysfs is
not a proper user-space API for runtime modifications, and never was
intended to provide such. The DRM drivers are now prepared to provide
such a backlight link so user-space can control backlight via DRM
connector properties.