Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2014 17:45:08 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269437 - head/sys/dev/vt/hw/fb
Message-ID:  <201408021745.s72Hj8TM086639@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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