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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
		}

	}