lima: set .out_sync field of req in lima_submit_start()
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 11 Sep 2019 03:06:15 +0000 (20:06 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Wed, 11 Sep 2019 04:49:53 +0000 (21:49 -0700)
Looks like .out_sync wasn't set in lima_submit_start(), as result
submit completion fence was never signalled.

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_submit.c

index 92909451db4926c33084867d23d2b448db615471..3977af8078ef65d37e9a49a8e988b466cfa12cb2 100644 (file)
@@ -128,6 +128,7 @@ bool lima_submit_start(struct lima_submit *submit, void *frame, uint32_t size)
       .bos = VOID2U64(util_dynarray_begin(&submit->gem_bos)),
       .frame = VOID2U64(frame),
       .frame_size = size,
+      .out_sync = submit->out_sync,
    };
 
    if (submit->in_sync_fd >= 0) {