svn commit: r268895 - head/sys/powerpc/ps3
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sat Jul 19 23:39:17 UTC 2014
Author: nwhitehorn
Date: Sat Jul 19 23:39:17 2014
New Revision: 268895
URL: http://svnweb.freebsd.org/changeset/base/268895
Log:
Enable X11 via xf86-video-scfb on the Playstation 3. This commit made from
an xterm running for the first time on said Playstation.
Modified:
head/sys/powerpc/ps3/ps3_syscons.c
Modified: head/sys/powerpc/ps3/ps3_syscons.c
==============================================================================
--- head/sys/powerpc/ps3/ps3_syscons.c Sat Jul 19 22:24:29 2014 (r268894)
+++ head/sys/powerpc/ps3/ps3_syscons.c Sat Jul 19 23:39:17 2014 (r268895)
@@ -78,6 +78,8 @@ static struct vt_driver vt_ps3fb_driver
.vd_blank = vt_fb_blank,
.vd_bitbltchr = vt_fb_bitbltchr,
.vd_maskbitbltchr = vt_fb_maskbitbltchr,
+ .vd_fb_ioctl = vt_fb_ioctl,
+ .vd_fb_mmap = vt_fb_mmap,
/* Better than VGA, but still generic driver. */
.vd_priority = VD_PRIORITY_GENERIC + 1,
};
@@ -187,6 +189,7 @@ ps3fb_init(struct vt_device *vd)
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. */
More information about the svn-src-head
mailing list