Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2014 23:39:17 +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: r268895 - head/sys/powerpc/ps3
Message-ID:  <201407192339.s6JNdHHw048794@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



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