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:
Christian König 2021-09-13 14:20:13 +02:00
parent 0e994828ec
commit 086b90c76f

View file

@ -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));
}
}