[Intel-gfx] [PATCH] drm/i915: Allow concurrent read access between CPU and GPU domain

2012-04-10 Thread Chris Wilson
Similar to allowing a buffer to be simultaneously read by the GPU and through the GTT, we wish to allow readback of the pages through the CPU domain whilst they are also being read by the GPU. Domain coherency is managed by allowing multiple readers, but only a single writer. This is used by mesa

Re: [Intel-gfx] [PATCH] drm/i915: Allow concurrent read access between CPU and GPU domain

2012-04-10 Thread Chris Wilson
On Tue, 10 Apr 2012 11:52:50 +0100, Chris Wilson wrote: > Similar to allowing a buffer to be simultaneously read by the GPU and > through the GTT, we wish to allow readback of the pages through the CPU > domain whilst they are also being read by the GPU. Domain coherency > is managed by allowing

Re: [Intel-gfx] [PATCH] drm/i915: Allow concurrent read access between CPU and GPU domain

2012-04-11 Thread Daniel Vetter
On Tue, Apr 10, 2012 at 10:35:19PM +0100, Chris Wilson wrote: > On Tue, 10 Apr 2012 11:52:50 +0100, Chris Wilson > wrote: > > Similar to allowing a buffer to be simultaneously read by the GPU and > > through the GTT, we wish to allow readback of the pages through the CPU > > domain whilst they ar