drm/i915: Introduce i915_gem_object_finish_gpu()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Apr 2011 21:04:09 +0000 (22:04 +0100)
committerKeith Packard <keithp@keithp.com>
Thu, 9 Jun 2011 18:43:47 +0000 (11:43 -0700)
commita8198eea156df47e0e843ac5c7d4c8774e121c42
treee2a1376eadff54842460fa392efcf4a0505f1bd8
parent284d952968d60cca156ef0c5efa62592b72264cb
drm/i915: Introduce i915_gem_object_finish_gpu()

... reincarnated from i915_gem_object_flush_gpu(). The semantic
difference is that after calling finish_gpu() the object no longer
resides in any GPU domain, and so will cause the GPU caches to be
invalidated if it is ever used again.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c