[PATCH] xfree86: Add Loongson MIPS support

Matt Turner mattst88 at gmail.com
Sun Oct 16 08:37:16 PDT 2011

On Sat, Oct 15, 2011 at 6:20 PM, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
>> Date: Thu, 13 Oct 2011 20:26:18 -0700
>> From: Matt Kraai <kraai at ftbfs.org>
>> > Also, that code is pretty much going to be made obsolete by Jeremy
>> > Huddleston's pci bus cleanup diff.  A better approach would be to
>> > convert the relevant drivers for loongson to use the new pci_io_xxx
>> > interfaces in libpciaccess instead of the raw in/out calls.
>> My system uses the siliconmotion driver.  Would I need to start with
>> the instructions at
>>  http://www.x.org/wiki/PciReworkHowto
> The work described there has already been done some time ago.
>> and then replace the raw in/out calls?
> Yes.  You'd want something like the (untested) diff below.  Should
> work if you have a recent enough libpciaccess.
> This raises the question how far one should go in providing backwards
> compatibility in the drivers for older libpciaccess libraries.  Do we
> need to worry about that at all?

This particular hardware is really only XAA-capable to my knowledge. X
server 1.4.2 is significantly faster than a recent server. I don't
know if that's reason enough to maintain backward compatibility, but
it is an interesting data point.


More information about the xorg-devel mailing list