[Intel-gfx] [PATCH] drm/i915: Avoid using mappable space for relocation processing through the CPU

Chris Wilson chris at chris-wilson.co.uk
Mon Mar 26 10:32:52 CEST 2012


On Mon, 26 Mar 2012 10:10:27 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> From: Chris Wilson <chris at chris-wilson.co.uk>
> 
> We try to avoid writing the relocations through the uncached GTT, if the
> buffer is currently in the CPU write domain and so will be flushed out to
> main memory afterwards anyway. Also on SandyBridge we can safely write
> to the pages in cacheable memory, so long as the buffer is LLC mapped.
> In either of these caches, we therefore do not need to force the
s/caches/cases/

> reallocation of the buffer into the mappable region of the GTT, reducing
> the aperture pressure.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list