Re: [Intel-gfx] [PATCH 2/2] drm/i915: Make the physical object coherent with GTT

2014-05-02 Thread Ville Syrjälä
On Fri, Apr 18, 2014 at 08:27:04AM +0100, Chris Wilson wrote: > Currently objects for which the hardware needs a contiguous physical > address are allocated a shadow backing storage to satisfy the contraint. > This shadow buffer is not wired into the normal obj->pages and so the > physical object i

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Make the physical object coherent with GTT

2014-04-22 Thread Daniel Vetter
On Fri, Apr 18, 2014 at 08:27:04AM +0100, Chris Wilson wrote: > Currently objects for which the hardware needs a contiguous physical > address are allocated a shadow backing storage to satisfy the contraint. > This shadow buffer is not wired into the normal obj->pages and so the > physical object i

[Intel-gfx] [PATCH 2/2] drm/i915: Make the physical object coherent with GTT

2014-04-18 Thread Chris Wilson
Currently objects for which the hardware needs a contiguous physical address are allocated a shadow backing storage to satisfy the contraint. This shadow buffer is not wired into the normal obj->pages and so the physical object is incoherent with accesses via the GPU, GTT and CPU. By setting up the