Keith Packard wrote:
> On Fri, 2008-05-16 at 09:28 +0200, Thomas Hellström wrote:
>   
>> Hi.
>>
>> I have a couple of question w r t the TTM vs GEM discussion:
>>
>> 1) How does pwrite() avoid clflush()es or wbinvd()s in the i915 gem case?
>>     
>
> It doesn't, but as pwrite uses non-temporal stores, the clflush doesn't
> affect the cache at all. Of course, if we had to use wbinvd, this would
> completely wreck performance.
>
>   

Understood, but what prevents you from using "movnt" from user-space, 
for example as part of
OUT_BATCH() or similar?

/Thomas




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to