Skip to content

Commit

Permalink
drm/i915: Wait for the bo if a display flip is pipelined on the other…
Browse files Browse the repository at this point in the history
… ring

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Dec 6, 2010
1 parent 0ac74c6 commit 0be7328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,7 @@ i915_gem_object_set_to_display_plane(struct drm_i915_gem_object *obj,
i915_gem_object_flush_gpu_write_domain(obj);

/* Currently, we are always called from an non-interruptible context. */
if (!pipelined) {
if (pipelined != obj->ring) {
ret = i915_gem_object_wait_rendering(obj, false);
if (ret)
return ret;
Expand Down

0 comments on commit 0be7328

Please sign in to comment.