Commit afca4216 authored by Jason Ekstrand's avatar Jason Ekstrand Committed by Dave Airlie

i915: Use drm_syncobj_fence_get

Signed-off-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment