Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 426ef1bb authored by Daniel Stone's avatar Daniel Stone Committed by Lucas Stach
Browse files

drm/etnaviv: Fix implicit/explicit sync sense inversion



We were reading the no-implicit sync flag the wrong way around,
synchronizing too much for the explicit case, and not at all for the
implicit case. Oops.

Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
parent f4a4381b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ static int submit_fence_sync(const struct etnaviv_gem_submit *submit)
	for (i = 0; i < submit->nr_bos; i++) {
		struct etnaviv_gem_object *etnaviv_obj = submit->bos[i].obj;
		bool write = submit->bos[i].flags & ETNA_SUBMIT_BO_WRITE;
		bool explicit = !(submit->flags & ETNA_SUBMIT_NO_IMPLICIT);
		bool explicit = !!(submit->flags & ETNA_SUBMIT_NO_IMPLICIT);

		ret = etnaviv_gpu_fence_sync_obj(etnaviv_obj, context, write,
						 explicit);