util/u_queue: track job size and limit the size of queue growth
[mesa.git] / src / gallium / winsys / amdgpu / drm / amdgpu_cs.c
index 976ec7770f08a3af18a81f43a9ba67b30fc754ff..bad01bd67451e0ec4a7bbbc36dc2cda7e2193ea6 100644 (file)
@@ -1756,7 +1756,7 @@ static int amdgpu_cs_flush(struct radeon_cmdbuf *rcs,
 
       /* Submit. */
       util_queue_add_job(&ws->cs_queue, cs, &cs->flush_completed,
-                         amdgpu_cs_submit_ib, NULL);
+                         amdgpu_cs_submit_ib, NULL, 0);
       /* The submission has been queued, unlock the fence now. */
       simple_mtx_unlock(&ws->bo_fence_lock);