svn commit: r268895 - head/sys/powerpc/ps3

看板FB_svn作者時間11年前 (2014/07/20 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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. */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
文章代碼(AID): #1JomQ-4L (FB_svn)