logo       

XFree86 NVidia cached access: msg#00065

Subject: XFree86 NVidia cached access

I'm trying to resolve an issue with the XFree86 4.3 (Debian sources) and
the nv (nvidia open source version) driver, although the issues apply
equally to 4.2 and 4.1. The nv driver I'm is actually from XFree86 CVS,
which is obviously newer and appears to work a bit better.

I have fixed some minor issues in this driver, however, the main one is
that access to its framebuffer, and more importantly, its hw registers
are cached, which is obviously not very helpful.    I have the exact
same card and versions of sources on my PC, and can confirm that it
works perfectly well on there - although that's using 2.6.0-test11
versus the ARM 2.4.21 kernel.

I have looked at the various mmap calls, and cannot see any particular
reason for it.  In particular, using the slow framebuffer driver,
access isn't cached.   There aren't any calls to mprotect, either,
which might affect things.

Finally, the access to the i2c bus on the video card (via the hw
registers) works correctly (that is, the same as the PC) when using
strace, but not otherwise, for what should be obvious caching reasons.



-- 
Peter Naulls - peter@xxxxxxxxxx        | http://www.chocky.org/
----------------------------------------------------------------------------
The RISC OS Browser Issue - http://www.chocky.org/unix/browser.html

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php



<Prev in Thread] Current Thread [Next in Thread>