From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 20:13:02 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DA6EB33 for ; Wed, 11 Mar 2015 20:13:02 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0311A751 for ; Wed, 11 Mar 2015 20:13:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BKD18I084156 for ; Wed, 11 Mar 2015 20:13:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 20:13:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dumbbell@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 20:13:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #7 from Jean-Sebastien Pedron --- 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.