[Intel-gfx] [PATCH] drm/i915: Avoid using mappable space for relocation processing through the CPU
daniel at ffwll.ch
Tue Mar 27 13:17:19 CEST 2012
On Mon, Mar 26, 2012 at 09:32:52AM +0100, Chris Wilson wrote:
> 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
> > reallocation of the buffer into the mappable region of the GTT, reducing
> > the aperture pressure.
Applied to dinq with the spelling fixed. Thanks for the patch.
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48
More information about the Intel-gfx