提交 0be73284 编写于 作者: C Chris Wilson

drm/i915: Wait for the bo if a display flip is pipelined on the other ring

Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
上级 0ac74c6b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册