On Wed, Oct 23, 2002 at 01:01:39AM +0100, Alan Cox wrote: > ... > Prefetching tends to be a win. What to prefetch is a harder question > normally solved by benchmarking. When the card does DMA access to a > buffer it will suck it from the processor L2 caches.
Pleaes define "suck" in this scenario. >From my driver coding in non-linux areas, I was always taught that the onus is on the OS to flush the various related areas of processor cache, before DMA takes place. Only after that is done, can the device safely access that memory area. It sounds like you are describing some hardware-level method that the card can automatically grab CPU-cached data, which I have not heard of before. Does this occur on all chipsets? I am semi-sure it does not happen on sparc automatically. ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
