diff options
author | Christian König <christian.koenig@amd.com> | 2021-09-13 15:20:13 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-10-27 15:11:25 +0300 |
commit | 086b90c76fc18246b03aaf728d2f30a1a018a1b4 (patch) | |
tree | b278acac4e7a638efca68c1c02dce46a0b6a158c /drivers/gpu/drm/etnaviv | |
parent | 0e994828ec8819c1f22d651cf53f1b0c728bb0bb (diff) | |
download | linux-086b90c76fc18246b03aaf728d2f30a1a018a1b4.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/etnaviv')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c b/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c index 486259e154af..8dc93863bf96 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c @@ -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)); } } |