diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-13 22:04:09 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-09 11:43:47 -0700 |
commit | a8198eea156df47e0e843ac5c7d4c8774e121c42 (patch) | |
tree | e2a1376eadff54842460fa392efcf4a0505f1bd8 /drivers/gpu/drm/i915/intel_display.c | |
parent | 284d952968d60cca156ef0c5efa62592b72264cb (diff) | |
download | talos-op-linux-a8198eea156df47e0e843ac5c7d4c8774e121c42.tar.gz talos-op-linux-a8198eea156df47e0e843ac5c7d4c8774e121c42.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index aa43e7be6053..e32fb89b3165 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -1971,7 +1971,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, * This should only fail upon a hung GPU, in which case we * can safely continue. */ - ret = i915_gem_object_flush_gpu(obj); + ret = i915_gem_object_finish_gpu(obj); (void) ret; } |