[Nouveau] [Bug 94757] powerpc64 & 64Kb kernel pagesize not working with nouveau
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 25 10:57:55 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94757
--- Comment #7 from Benjamin Herrenschmidt <benh at kernel.crashing.org> ---
There's an old patch of mind floating on the lists somewhere that did make it
somewhat work on my G5's nv43 but it only addressed part of the problem (the
kernel framebuffer basically).
There's also an issue in that the per-context registers that are meant to be
mapped into userspace are only 4K appart.
nVidia binary driver on POWER8 (for compute) works around that by using the
_PAGE_4K_PFN hack we have which allows a driver to create a user mapping for a
64K page that is made of 16 times the same underlying HW 4K page.
That requires unfortunately some trickery to deal with on both side of the
user/kernel interface, so it's not a "drop-in" fix in the existing stack.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160825/b8f29472/attachment.html>
More information about the Nouveau
mailing list