mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-05-30 19:15:41 +00:00
i915: Use drm_syncobj_fence_get
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
309a5482fa
commit
afca4216b8
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue