uterm: drm: reread dpms state on wakeup
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 12 Jan 2013 13:01:01 +0000 (14:01 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 12 Jan 2013 13:01:01 +0000 (14:01 +0100)
commit041baf4c40f45d3f3cc56645edfc6f3433c66047
tree3092dd04b15211769053519a83470f172442ab81
parent9f27d05319b1ab1c013c7200f0bcd97842ba2892
uterm: drm: reread dpms state on wakeup

Other DRM users might change the DPMS state of a display while we are
asleep. Therefore, reread the state during wakeup and force DPMS to the
same value it had when we left. But do this only for displays that are
online, other displays are never touched by uterm-video.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_drm_shared.c
src/uterm_drm_shared_internal.h