git: drm: Use fb_blank hooks from drm_fb_helper.c as a syscons screensaver.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Dec 4 15:37:16 PST 2016


commit f8b03d86bc34d0479786c445b9af192da3826fea
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Nov 17 23:34:13 2016 +0100

    drm: Use fb_blank hooks from drm_fb_helper.c as a syscons screensaver.
    
    * When the KMS framebuffer is registered in syscons, a screensaver is
      registered in syscons, which uses the fb_blank callback (if provided
      by the drm driver) for turning the display off.
    
    * The syscons screensaver can be used by e.g. running "vidcontrol -t 30"
      for a 30s "screensaver" timeout), or via the Shift-Pause shortcut (for
      instantly enabling the "screensaver").

Summary of changes:
 sys/dev/misc/syscons/syscons.c | 73 ++++++++++++++++++++++++++++++++++++++++++
 sys/dev/misc/syscons/syscons.h |  1 +
 2 files changed, 74 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f8b03d86bc34d0479786c445b9af192da3826fea


-- 
DragonFly BSD source repository


More information about the Commits mailing list