Re: Fwd: how to make sure cache synchronization between GPU and CPU

2009-11-02 Thread Thomas Hellström
Donnie Fang wrote: > Sorry for omitting thomas. > > -- Forwarded message -- > From: *Donnie Fang* mailto:[email protected]>> > Date: 2009/11/2 > Subject: how to make sure cache synchronization between GPU and CPU > To: [email protected]

Fwd: how to make sure cache synchronization between GPU and CPU

2009-11-02 Thread Donnie Fang
Sorry for omitting thomas. -- Forwarded message -- From: Donnie Fang Date: 2009/11/2 Subject: how to make sure cache synchronization between GPU and CPU To: [email protected] After review TTM code, i found that when BO is in AGP aperture, the cache attribute for

how to make sure cache synchronization between GPU and CPU

2009-11-02 Thread Donnie Fang
After review TTM code, i found that when BO is in AGP aperture, the cache attribute for this BO is often to be "WC". So user mode page table will be "WC" of course. This guarantee that data won't be cached by CPU and be visible to GPU correctly. But how about the opposition in this case? How to gua