svn commit: r269437 - head/sys/dev/vt/hw/fb

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sat Aug 2 17:45:08 UTC 2014


Author: nwhitehorn
Date: Sat Aug  2 17:45:08 2014
New Revision: 269437
URL: http://svnweb.freebsd.org/changeset/base/269437

Log:
  Don't assume that the framebuffer driver is using vt_fb_blank() when blanking
  the screen during init.
  
  MFC after:	1 week

Modified:
  head/sys/dev/vt/hw/fb/vt_fb.c

Modified: head/sys/dev/vt/hw/fb/vt_fb.c
==============================================================================
--- head/sys/dev/vt/hw/fb/vt_fb.c	Sat Aug  2 17:35:13 2014	(r269436)
+++ head/sys/dev/vt/hw/fb/vt_fb.c	Sat Aug  2 17:45:08 2014	(r269437)
@@ -401,7 +401,7 @@ vt_fb_init(struct vt_device *vd)
 	}
 
 	/* Clear the screen. */
-	vt_fb_blank(vd, TC_BLACK);
+	vd->vd_driver->vd_blank(vd, TC_BLACK);
 
 	/* Wakeup screen. KMS need this. */
 	vt_fb_postswitch(vd);


More information about the svn-src-head mailing list