提交 afca4216 编写于 作者: J Jason Ekstrand 提交者: Dave Airlie

i915: Use drm_syncobj_fence_get

Signed-off-by: NJason Ekstrand <jason@jlekstrand.net>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 309a5482
......@@ -2129,9 +2129,7 @@ await_fence_array(struct i915_execbuffer *eb,
if (!(flags & I915_EXEC_FENCE_WAIT))
continue;
rcu_read_lock();
fence = dma_fence_get_rcu_safe(&syncobj->fence);
rcu_read_unlock();
fence = drm_syncobj_fence_get(syncobj);
if (!fence)
return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册