Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2010 01:46:06 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r208478 - stable/8/sys/dev/fb
Message-ID:  <201005240146.o4O1k6fD051868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Mon May 24 01:46:06 2010
New Revision: 208478
URL: http://svn.freebsd.org/changeset/base/208478

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

Modified:
  stable/8/sys/dev/fb/vesa.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/dev/fb/vesa.c
==============================================================================
--- stable/8/sys/dev/fb/vesa.c	Mon May 24 01:44:30 2010	(r208477)
+++ stable/8/sys/dev/fb/vesa.c	Mon May 24 01:46:06 2010	(r208478)
@@ -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?201005240146.o4O1k6fD051868>