I had to do something to restore my normal insanity levels so I've been poking at Eric Anholt's SIS6326 driver. I've fixed various things and ported it to run with XFree 4.3.0 (plus some small 2D backports) and the 4.4CVS dri module for sis.
At the moment the basic 3D stuff works. The locking with 2D v 3D is definitely not quite right and the hardware requires 2D and 3D are not issued together. Quite why they have seperate queues is a mystery 8) With depth buffer disabled basic stuff works. The hardware requires the chip is told things like point and draw ordering and this seems to trip up on sproingies but not the other demos. The kernel driver is logging incorrect extra frees and oopses the kernel if textures are used. I'm not sure why this is but the mm code needs replacing anyway to move the mm tables out of frame buffer RAM for security. I've got some code I wrote for Linux 8086 that does hole management using a seperate table array that I can import. The depth buffer stuff has me baffled at the moment. Current 3D code at http://www.linux.org.uk/~alan/sis6326.tar.gz Alan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
