[PATCH] xfree86: Add Loongson MIPS support
alexdeucher at gmail.com
Sun Oct 16 18:08:36 PDT 2011
On Sun, Oct 16, 2011 at 9:06 PM, Michael <macallan at netbsd.org> wrote:
> On Sun, 16 Oct 2011 11:37:16 -0400
> Matt Turner <mattst88 at gmail.com> wrote:
>> 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.
> SM502 at least supports separate offsets and strides for source and destination in blitter ops, so supporting EXA wouldn't be hard at all. There seems to be some (limited) alpha blending support as well.
There is working EXA support already in the smi driver, but IIRC, the
3D hardware only has 1 texture unit, so it's not real useful for
More information about the xorg-devel