summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-04 18:43:40 +0000
committeremaste <emaste@FreeBSD.org>2014-09-04 18:43:40 +0000
commitd3502c5201c3953f761c2abc08d154325cd8b335 (patch)
tree6fabcc945fa648c829f839c3feb4fe114586165b /sys/powerpc
parent2a3f3e6567ab84c11e17e3cc87e2418f2dafda27 (diff)
downloadFreeBSD-src-d3502c5201c3953f761c2abc08d154325cd8b335.zip
FreeBSD-src-d3502c5201c3953f761c2abc08d154325cd8b335.tar.gz
MFC fbd(4) and vt_fb disentanglement:
r268472 (ray): Should check fb_read method presence instead of double check for fb_write. r269620 (nwhitehorn): Retire various intertwined bits of fbd(4) and vt_fb, in particular the pixel modification indirection. No actual drivers use it and those that might (e.g. creatorfb) use custom implementations of vd_bitbltchr(). Relnotes: No Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/ps3/ps3_syscons.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/powerpc/ps3/ps3_syscons.c b/sys/powerpc/ps3/ps3_syscons.c
index 41388ef..047a5ce 100644
--- a/sys/powerpc/ps3/ps3_syscons.c
+++ b/sys/powerpc/ps3/ps3_syscons.c
@@ -188,12 +188,8 @@ ps3fb_init(struct vt_device *vd)
lv1_gpu_context_attribute(sc->sc_fbcontext,
L1GPU_CONTEXT_ATTRIBUTE_DISPLAY_FLIP, 1, 0, 0, 0);
- fb_probe(&sc->fb_info);
- sc->fb_info.fb_flags &= ~FB_FLAG_NOMMAP; /* Set wrongly by fb_probe */
vt_fb_init(vd);
-
- /* Clear the screen. */
- vt_fb_blank(vd, TC_BLACK);
+ sc->fb_info.fb_flags &= ~FB_FLAG_NOMMAP; /* Set wrongly by vt_fb_init */
return (CN_INTERNAL);
}
OpenPOWER on IntegriCloud