[Intel-gfx] [PATCH 2/3] drm/i915: Use cpu relocations if the object is in the GTT but not mappable

Daniel Vetter daniel at ffwll.ch
Fri Aug 24 02:29:36 CEST 2012


On Thu, Aug 23, 2012 at 01:12:52PM +0100, Chris Wilson wrote:
> This prevents the case of unbinding the object in order to process the
> relocations through the GTT and then rebinding it only to then proceed
> to use cpu relocations as the object is now in the CPU write domain. By
> choosing to use cpu relocations up front, we can therefore avoid the
> rebind penalty.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
lgtm, applied to dinq.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list