diff options
author | Christian König <christian.koenig@amd.com> | 2021-09-22 14:16:25 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-11-03 08:34:05 +0100 |
commit | c29d6797228b673c5051d3ed7ef36ae66fe99ac7 (patch) | |
tree | e1bf6bdfdec0016e24c3c5711a651172ee66af4b /drivers/gpu/drm/etnaviv | |
parent | i915/display/dp: send a more fine-grained link-status uevent (diff) | |
download | linux-c29d6797228b673c5051d3ed7ef36ae66fe99ac7.tar.xz linux-c29d6797228b673c5051d3ed7ef36ae66fe99ac7.zip |
drm/etnaviv: stop getting the excl fence separately here
Just grab all fences in one go.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028132630.2330-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 8dc93863bf96..b5e8ce86dbe7 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c @@ -189,7 +189,7 @@ static int submit_fence_sync(struct etnaviv_gem_submit *submit) continue; 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->shared); if (ret) |