Commit 086b90c7 authored by Christian König's avatar Christian König

drm/etnaviv: replace dma_resv_get_excl_unlocked

We certainly hold the reservation lock here, no need for the RCU dance.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarNirmoy Das <nirmoy.das@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025080532.177424-3-christian.koenig@amd.com
parent 0e994828
...@@ -195,7 +195,7 @@ static int submit_fence_sync(struct etnaviv_gem_submit *submit) ...@@ -195,7 +195,7 @@ static int submit_fence_sync(struct etnaviv_gem_submit *submit)
if (ret) if (ret)
return ret; return ret;
} else { } else {
bo->excl = dma_resv_get_excl_unlocked(robj); bo->excl = dma_fence_get(dma_resv_excl_fence(robj));
} }
} }
......
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