[Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 11 20:13:02 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459

--- Comment #7 from Jean-Sebastien Pedron <dumbbell at FreeBSD.org> ---
Just to clarify, I only had "drm2" in my mind in my previous comments.

The work on powerpc64 happened in the DRM 3.8 update branch on GitHub:
https://github.com/dumbbell/freebsd/tree/kms-drm-update-38

Beside enabling the build, I think the only changes was this one:
https://github.com/dumbbell/freebsd/commit/7d324a7905741f8713d3236cd39d2e19f590c7d0

The following patch should be sufficient to enable the build of the DRM
subsystem on sparc64 (still talking about "drm2"):
https://people.freebsd.org/~dumbbell/graphics/drm-sparc64.a.patch

On Linux, the driver already works on powerpc, powerpc64 or sparc64 for that
matter. So most changes are required outside of it. For instance, powerpc lacks
 64bit atomic operations, that's why it's not enabled there.

FYI, I plan to commit the DRM 3.8 branch next week. So if you work on this, use
that branch, not vanilla HEAD.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-sparc64 mailing list