Lines Matching defs:flush
34 * resources. This is used to decide when we should force a flush, in order to
109 /* We need to flush to properly sync the transfer with the current cmdbuf.
162 bool flush;
178 flush = virgl_res_needs_flush(vctx, xfer);
195 flush = false;
226 wait = (flush || vws->resource_is_busy(vws, res->hw_res));
234 /* There is normally no need to flush either, unless the amount of
236 * which case we want to flush to keep our memory consumption in
239 flush = (vctx->queued_staging_res_size >
258 * we have to flush before readback.
260 if (!flush && virgl_transfer_queue_is_queued(&vctx->queue, xfer))
261 flush = true;
264 if (flush)
265 vctx->base.flush(&vctx->base, NULL, 0);
424 * 3. flush the execbuffer to the host
430 vctx->base.flush(&vctx->base, NULL, 0);
808 * flush/readback/wait required. Based on virgl_resource_transfer_prepare,