mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
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
This commit is contained in:
parent
23c5096839
commit
c29d679722
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue