panfrost: Allocate syncobjs in panfrost_flush
[mesa.git] / src / gallium / drivers / panfrost / pan_job.h
index 68a1b337d6687e38b3d61bcd9dd81f53b44359c0..746862e9c575e62df8005c087312c6272b61f42d 100644 (file)
@@ -53,9 +53,6 @@ struct panfrost_batch_fence {
          */
         struct panfrost_context *ctx;
 
-        /* Sync object backing this fence. */
-        uint32_t syncobj;
-
         /* Cached value of the signaled state to avoid calling WAIT_SYNCOBJs
          * when we know the fence has already been signaled.
          */
@@ -168,7 +165,7 @@ panfrost_batch_create_bo(struct panfrost_batch *batch, size_t size,
                          uint32_t create_flags, uint32_t access_flags);
 
 void
-panfrost_flush_all_batches(struct panfrost_context *ctx);
+panfrost_flush_all_batches(struct panfrost_context *ctx, uint32_t out_sync);
 
 bool
 panfrost_pending_batches_access_bo(struct panfrost_context *ctx,