drm/i915: Perform relocations in CPU domain [if in CPU domain]
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Oct 2010 11:44:48 +0000 (12:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 08:19:18 +0000 (09:19 +0100)
commitf0c43d9b7ec1bb9827b3dd5ac5915d22ceed8f6a
tree4dc15b6745685c3d1c7ad380fa020c6d6c316576
parent2549d6c26ce1c85a76990b972a2c7e8f440455cd
drm/i915: Perform relocations in CPU domain [if in CPU domain]

Avoid an early eviction of the batch buffer into the uncached GTT
domain, and so do the relocation fixup in cacheable memory.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c