[PATCH] drm: Add DPMS ioctl

Daniel Stone daniel at fooishbar.org
Wed Oct 11 11:56:33 UTC 2017


Hi Alex,

On 11 October 2017 at 12:22, Alex Ivanov <gnidorah at ya.ru> wrote:
> On 11.10.2017 13:13, Daniel Stone wrote:
>> If people are doing fancy new compositors without DPMS support, then I
>> recommend they use an existing compositor base, such as libweston
>> (others are also available) which actually implement DPMS. For
>> Electron apps, there are a number of idle-inhibition options available
>> for X11, and also for Wayland when that support lands in Electron.
>> Unfortunately I don't think there is any way to just route around the
>> compositor as this patch does.
>
> libweston is still too tied to Weston at this moment, and other
> libraries are still underway.
>
> Your phrase is a great marker of how much complexity and
> trickery for user is added into display power management
> in comparison to power management of other components.

Unfortunately it is indeed quite complex, but this approach doesn't
fundamentally remove complexity, but instead _add_ it. I'd much rather
fix these problems at the source - add idle-inhibition or DPMS support
where required to compositors and clients - than try to route around
it.

Cheers,
Daniel


More information about the dri-devel mailing list