aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-06 09:36:27 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-06 09:37:27 -0500
commit0be732841fb925b6f1242211ea211c022b6ac26c (patch)
tree428bea230eaaa2140f49275751cdd2f2667270c8
parent0ac74c6b3386f0413baf48f6d61850650e0dc4ab (diff)
drm/i915: Wait for the bo if a display flip is pipelined on the other ring
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index e7733333767d..b57ce033e42a 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2926,7 +2926,7 @@ i915_gem_object_set_to_display_plane(struct drm_i915_gem_object *obj,
2926 i915_gem_object_flush_gpu_write_domain(obj); 2926 i915_gem_object_flush_gpu_write_domain(obj);
2927 2927
2928 /* Currently, we are always called from an non-interruptible context. */ 2928 /* Currently, we are always called from an non-interruptible context. */
2929 if (!pipelined) { 2929 if (pipelined != obj->ring) {
2930 ret = i915_gem_object_wait_rendering(obj, false); 2930 ret = i915_gem_object_wait_rendering(obj, false);
2931 if (ret) 2931 if (ret)
2932 return ret; 2932 return ret;