Re: KMS backlight ABI proposition

2017-02-23 Thread Hans de Goede
Hi, On 23-02-17 09:55, Jani Nikula wrote: On Wed, 22 Feb 2017, Hans de Goede wrote: My first thought was that your proposal is reasonable, but on second thought I foresee trouble here with e.g. the backlight level save / restore code in systemd still using the sysfs interface, while the

Re: KMS backlight ABI proposition

2017-02-22 Thread Hans de Goede
Hi, On 22-02-17 16:05, Jani Nikula wrote: On Mon, 20 Feb 2017, Daniel Thompson wrote: === 1) Backlight device interoperability === Since we need to keep backward compatibility of the backlight, we have to keep the current backlight drivers. Here are possible options: - Exclusive access: Un

Re: KMS backlight ABI proposition

2017-02-22 Thread Hans de Goede
wayland compositors are now running root-less, this means we would need a complex dance involving a setuid helper [1]. Hans de Goede has already given a presentation about these issues at XDC2014. The slides are a good read[2]. [0] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree