Summary: | sparc64 needs support for pci domains | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Donnie Berkholz <dberkholz> | ||||
Component: | Server/DDX/Xorg | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED DUPLICATE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | high | ||||||
Version: | git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
URL: | http://bugs.gentoo.org/show_bug.cgi?id=43630 | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Donnie Berkholz
2004-07-06 02:52:27 UTC
Created attachment 442 [details] [review] xorg-6.7.0-pci-domains.patch Credit to Daniel Seyffer <gentoo-bugs@seyffer.de> and Ciaran McCreesh <ciaranm@gentoo.org>. It appears that a similar fix has already been integrated. See http://freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/programs/Xserver/hw/xfree86/os-support/bus/linuxPci.c?r1=1.2&r2=1.3. Closing. What if the graphics card is not on domain 0000? I have an Radeon at 00003 and it is not being found. XFree86 has modified linuxPci.c significantly to traverse PCI domains -- looks like this is exactly what is needed to detect graphics cards on higher numbered domains. Could the maintainer kindly consider folding in similar changes? http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/os-support/bus/linuxPci.c?rev=1.12&content-type=text/vnd.viewcvs-markup The license is always questionable .. but it was Marc Aurele La France who committed it. Definately would like to know if anyone is working on this. Can we use the code from Xfree86 legally (if I use it and get it working, can it be accepted), or do I have to find my own solution? Is anyone else working on this? The "fixed" code is absolutely no use on my box at all. I'd like to see what everyone else's /proc/bus/pci looks like to make sure I don't rule anyone out when I go hacking away ... assuming we can't just plug in the Xfree version. As far as I know, all code distributed by XFree86 can be reused by anyone legally, as long as you follow the license terms. However, X.Org has made the decision that the terms of the XFree86 1.1 license do not meet X.Org's goals, and will not accept code under that license into the X.Org CVS. Redistributors may choose to add code under that license into their own packages, but are responsible for ensuring they meet the terms imposed by the license. Code under other licenses in the XFree86 tree may be acceptable to import to X.Org (and much of it has been in the original XFree86 4.4RC2 import for X.Org X11R6.7 release). There is a PCI domain patch listed in bug #2368 that applies cleanly to my 6.8.2 tree. It does find my video card in domain 5, but then crashes leaving the video card in an unknown state. I don't know which bug is a duplicate of which since 2368 isn't sparc specific, this bug is, but I don't think the problem is sparc specific, but thats what I'm testing on. It only takes me about 3-4 hours to recompile X, so I'm gonna see if I figure anything out. I've not tested the patch listed in the Xfree86 tree. Has anyone else? The patch in bug #2368 will solve the remaining issues with PCI domains on Sparc. I have a Sun Ultra E450 running kernel 2.6 and have tested the patch listed in bug #2368 in multiple PCI domains. Works well and stable! dup of 2368 *** This bug has been marked as a duplicate of 2368 *** |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.