1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00
freebsd/sys/dev/vt/hw
Andriy Gapon 6dfa4578d6 vt(4): Use power_{suspend,resume} event handlers to implement
suspend/resume

The goal is to avoid that the vt(4) resume happens before the video
display is resumed. The original patch was provided by Andriy Gapon.

This new patch registers the handlers in vt_upgrade(). This is done
once, thanks to the VDF_ASYNC flag. I abused this flag because it was
already abused by the keyboard allocation. The event handlers then call
the backend if it provides callbacks for suspend/resume.

Differential Revision:	https://reviews.freebsd.org/D1004
On behalf of:	dumbbell
MFC after:	2 weeks
2015-01-27 15:28:46 +00:00
..
efifb Partially revert "vt: register the memory regions used by the vt drivers" 2014-12-30 08:50:07 +00:00
fb vt(4): Use power_{suspend,resume} event handlers to implement 2015-01-27 15:28:46 +00:00
ofwfb
vga vt_vga: fix an off-by-one error 2014-12-30 08:50:50 +00:00