Hi there,

the last days I was amusing myself with finding out about the status
of the Matrox G450 _PCI_ w.r.t. to hw 3D support. The card is plugged
into an Alpha station (UP2000).

I ended up hacking the agpgart module to kind-of emulate an agp
chipset by using the iommu of the UP2000 mainboard. Actually, someone
had already prepared some funtions in arch/alpha/kernel/pci_iommu.c
which do most of the trick.

After removing the MGA_PAGPXFER bits from the DMA code in
drivers/char/mga_dma.c (as a very quick and very dirty hack) the stuff
initializes ok. , but gears still has catches a SIGBUS. However, at
least the machine does not hang and I can load/unload the agpgart and
mga module. glxinfo works ok.

I'll investigate further into the SIGBUS when I find the time.

Are there any chances that DRI support for the Matrox PCI cards (at
least) could be implemented that way? I just had a short look at the
XFree sources and it look difficult to remove the dependence on the
agpgart module.

And one major feature on x86 machines are the iommu facilities of the
AGP chipsets. Implementing a fake "AGP" driver for architectures which
already have iommu facilities for their PCI subsystems seems to be
fairly easy. The user-land drivers of the X-server can (perhaps?) 
remain unchanged. The drm kernel modules need to be adjusted, of course.

Please stop me if I am totally wrong.

Greetings

Claus

-- 
  Claus-Justus Heine             
  [EMAIL PROTECTED]
  http://www.instmath.rwth-aachen.de/~heine/

  Ftape - the Linux Floppy Tape Project
  Home Page   : http://www.instmath.rwth-aachen.de/~heine/ftape/

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to