Skip to content

Commit 426ef1b

Browse files
fooishbarlynxeye-dev
authored andcommitted
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: Daniel Stone <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
1 parent f4a4381 commit 426ef1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static int submit_fence_sync(const struct etnaviv_gem_submit *submit)
172172
for (i = 0; i < submit->nr_bos; i++) {
173173
struct etnaviv_gem_object *etnaviv_obj = submit->bos[i].obj;
174174
bool write = submit->bos[i].flags & ETNA_SUBMIT_BO_WRITE;
175-
bool explicit = !(submit->flags & ETNA_SUBMIT_NO_IMPLICIT);
175+
bool explicit = !!(submit->flags & ETNA_SUBMIT_NO_IMPLICIT);
176176

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

0 commit comments

Comments
 (0)