summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb/vgareg.h
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2005-02-28 21:06:14 +0000
committeriedowse <iedowse@FreeBSD.org>2005-02-28 21:06:14 +0000
commitd89679b3edb0937fc7ea9449b2fa1ba70233425d (patch)
treef4f23fb6d6f4eebcdd80ad07ed575125d706e712 /sys/dev/fb/vgareg.h
parentbdce8917686dee18808e2f8f1774daa8b290c49b (diff)
downloadFreeBSD-src-d89679b3edb0937fc7ea9449b2fa1ba70233425d.zip
FreeBSD-src-d89679b3edb0937fc7ea9449b2fa1ba70233425d.tar.gz
Save and restore the VGA state across a suspend-resume cycle. This
is particularly useful when VESA is available (either `options VESA' or load the vesa module), as BIOSes in some notebooks may correctly save and restore LCD panel settings using VESA in cases where calling the video BIOS POST is not effective. On some systems it may also be necessary to set the hw.acpi.reset_video sysctl to 0.
Diffstat (limited to 'sys/dev/fb/vgareg.h')
-rw-r--r--sys/dev/fb/vgareg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fb/vgareg.h b/sys/dev/fb/vgareg.h
index e26c214..4ccef40 100644
--- a/sys/dev/fb/vgareg.h
+++ b/sys/dev/fb/vgareg.h
@@ -69,6 +69,7 @@
struct video_adapter;
typedef struct vga_softc {
struct video_adapter *adp;
+ void *state_buf;
#ifdef FB_INSTALL_CDEV
genfb_softc_t gensc;
#endif
OpenPOWER on IntegriCloud