summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-03 13:22:50 +0000
committeremaste <emaste@FreeBSD.org>2014-09-03 13:22:50 +0000
commitefb15fd1c21ce7753308150bbc5b57c0037fa0e5 (patch)
tree64246298f1bed37699c13ee11ea45efeed66de36 /sys/dev/vt
parent0f27004de6381de336d3cdccbcff37737a334dc3 (diff)
downloadFreeBSD-src-efb15fd1c21ce7753308150bbc5b57c0037fa0e5.zip
FreeBSD-src-efb15fd1c21ce7753308150bbc5b57c0037fa0e5.tar.gz
MFC r269437 by nwhitehorn:
Don't assume that the framebuffer driver is using vt_fb_blank() when blanking the screen during init.
Diffstat (limited to 'sys/dev/vt')
-rw-r--r--sys/dev/vt/hw/fb/vt_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vt/hw/fb/vt_fb.c b/sys/dev/vt/hw/fb/vt_fb.c
index 36c8250..6154513 100644
--- a/sys/dev/vt/hw/fb/vt_fb.c
+++ b/sys/dev/vt/hw/fb/vt_fb.c
@@ -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);
OpenPOWER on IntegriCloud