mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
drm/etnaviv: replace dma_resv_get_excl_unlocked
We certainly hold the reservation lock here, no need for the RCU dance. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Nirmoy Das <nirmoy.das@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211025080532.177424-3-christian.koenig@amd.com
This commit is contained in:
parent
0e994828ec
commit
086b90c76f
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ static int submit_fence_sync(struct etnaviv_gem_submit *submit)
|
|||
if (ret)
|
||||
return ret;
|
||||
} else {
|
||||
bo->excl = dma_resv_get_excl_unlocked(robj);
|
||||
bo->excl = dma_fence_get(dma_resv_excl_fence(robj));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue