From 14a8f33a0def2eff3c026fa305a3b177860560c6 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sat, 19 Jul 2014 23:39:17 +0000 Subject: Enable X11 via xf86-video-scfb on the Playstation 3. This commit made from an xterm running for the first time on said Playstation. --- sys/powerpc/ps3/ps3_syscons.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/powerpc/ps3') diff --git a/sys/powerpc/ps3/ps3_syscons.c b/sys/powerpc/ps3/ps3_syscons.c index 032653b..2705ad2 100644 --- a/sys/powerpc/ps3/ps3_syscons.c +++ b/sys/powerpc/ps3/ps3_syscons.c @@ -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. */ -- cgit v1.1