Wayland implementation for DPMS

Review Request #125026 - Created Sept. 2, 2015 and submitted

Information
Martin Flöser
powerdevil
master
da17070...
Reviewers
solid
broulik
An AbstractDpmsHelper is introduced with a concrete subclass called
XcbDpmsHelper. The PowerDevilDpmsAction holds a helper and delegates
to it. The XcbDpmsHelper implements the X11 specific tasks. This will
allow to add a Wayland implementation as well.

[dpms] Add a Wayland implementation

The Wayland implementation uses the DpmsManager provided by KWayland.
On a timeout it turns the screens off and it supports the trigger
modes. The fade helper is not supported (yet) as it is an X11 only
implementation.

How I tested:
run kwin_wayland on a DRM device
started kded5
configured powerdevil to suspend after one minute
waited
watched screen go off
enabled again, looked at debug output to verify it was triggered by powerdevil.

It's currently only tested with Qt 5.4. At least for idle integration I had the problem that things somehow stopped working with 5.5. So this needs additional testing.

Issues

  • 0
  • 2
  • 2
  • 4
Description From Last Updated
Kai Uwe Broulik
Martin Flöser
Kai Uwe Broulik
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 3321b9d2c78c64e6e7c9be4f7f14cb2776bc2e71 by Martin Gräßlin to branch master.
Loading...