Commit c29d6797 authored by Christian König's avatar Christian König

drm/etnaviv: stop getting the excl fence separately here

Just grab all fences in one go.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028132630.2330-3-christian.koenig@amd.com
parent 23c50968
...@@ -189,7 +189,7 @@ static int submit_fence_sync(struct etnaviv_gem_submit *submit) ...@@ -189,7 +189,7 @@ static int submit_fence_sync(struct etnaviv_gem_submit *submit)
continue; continue;
if (bo->flags & ETNA_SUBMIT_BO_WRITE) { if (bo->flags & ETNA_SUBMIT_BO_WRITE) {
ret = dma_resv_get_fences(robj, &bo->excl, ret = dma_resv_get_fences(robj, NULL,
&bo->nr_shared, &bo->nr_shared,
&bo->shared); &bo->shared);
if (ret) if (ret)
......
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