Re: CPU and GPU cache-coherence

2011-06-15 Thread Michel Dänzer
On Die, 2011-06-07 at 21:42 +0800, Donnie Fang wrote:
 3D render image on WC AGP aperture BO and then CPU fetch the image
 from this bo, in order to achieve performance, after 3D finished
 rendering, validate this bo into cached system memory and then read it
 from system memory. But I always get garbage from there.
 After check TTM bo validate codes, it has dealt with cache coherence
 properly, i wonder whether there is something I misunderstand or it is
 not allowed to move the WC bo from AGP to system memory for reading?

Can you post patches showing what you've tried?


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: CPU and GPU cache-coherence

2011-06-15 Thread Michel Dänzer
On Mit, 2011-06-15 at 16:58 +0200, Michel Dänzer wrote: 
 On Die, 2011-06-07 at 21:42 +0800, Donnie Fang wrote:
  3D render image on WC AGP aperture BO and then CPU fetch the image
  from this bo, in order to achieve performance, after 3D finished
  rendering, validate this bo into cached system memory and then read it
  from system memory. But I always get garbage from there.
  After check TTM bo validate codes, it has dealt with cache coherence
  properly, i wonder whether there is something I misunderstand or it is
  not allowed to move the WC bo from AGP to system memory for reading?
 
 Can you post patches showing what you've tried?

Moving to the new dri-devel list at freedesktop.org, please only follow
up there.


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel