aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-05-18 22:30:55 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-05-18 22:30:55 +0000
commita46dd0b9e2434d7349d81094504e1a6f843dc63e (patch)
treea98efd970359275a380d5c26b2431185f5ce8e7a /sys/dev/fb
parentf40cf6825feff7cab1b7e147f84ba0e85ff8b800 (diff)
Notes
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/vesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c
index 4167b44fac5cd..aaa51b101b2df 100644
--- a/sys/dev/fb/vesa.c
+++ b/sys/dev/fb/vesa.c
@@ -1443,6 +1443,7 @@ vesa_load_state(video_adapter_t *adp, void *p)
/* Try BIOS POST to restore a sane state. */
(void)vesa_bios_post();
(void)int10_set_mode(adp->va_initial_bios_mode);
+ (void)vesa_set_mode(adp, adp->va_mode);
return (vesa_bios_save_restore(STATE_LOAD, ((adp_state_t *)p)->regs,
vesa_state_buf_size));