Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2010 22:30:55 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208279 - head/sys/dev/fb
Message-ID:  <201005182230.o4IMUtjf086579@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue May 18 22:30:55 2010
New Revision: 208279
URL: http://svn.freebsd.org/changeset/base/208279

Log:
  Restore the previous VESA mode after BIOS POST, just in case.

Modified:
  head/sys/dev/fb/vesa.c

Modified: head/sys/dev/fb/vesa.c
==============================================================================
--- head/sys/dev/fb/vesa.c	Tue May 18 21:23:51 2010	(r208278)
+++ head/sys/dev/fb/vesa.c	Tue May 18 22:30:55 2010	(r208279)
@@ -1443,6 +1443,7 @@ vesa_load_state(video_adapter_t *adp, vo
 	/* 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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005182230.o4IMUtjf086579>