Date: Sun, 20 Jul 2014 09:21:15 -0700 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, x11@freebsd.org Subject: Please test: use /dev/mem instead of /dev/console for memory-mapping framebuffers in X11 on PowerPC Message-ID: <53CBEC7B.9030204@freebsd.org>
next in thread | raw e-mail | index | archive | help
I would appreciate any tests or comments on the following patch (which is working fine on my hardware). The goal is to move X drivers from using /dev/console to map device memory to using /dev/mem, as on x86 systems. This makes it so that the kernel framebuffer driver does not have to allow mapping of all physical memory and can behave like an actual framebuffer driver and along the way fixes some highly dubious behaviors of the ppc_video module on FreeBSD. The patch to libpciaccess may also result in some performance improvement. http://people.freebsd.org/~nwhitehorn/ppc-xorg-devmem.diff Please let me know if there are any regressions or other issues. -Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53CBEC7B.9030204>