Lines Matching refs:batch
241 struct vmw_otable_batch *batch)
245 struct vmw_otable *otables = batch->otables;
254 for (i = 0; i < batch->num_otables; ++i) {
266 0, false, &batch->otable_bo);
271 ret = ttm_bo_reserve(batch->otable_bo, false, true, NULL);
273 ret = vmw_bo_driver.ttm_tt_populate(batch->otable_bo->ttm, &ctx);
276 ret = vmw_bo_map_dma(batch->otable_bo);
280 ttm_bo_unreserve(batch->otable_bo);
283 for (i = 0; i < batch->num_otables; ++i) {
284 if (!batch->otables[i].enabled)
287 ret = vmw_setup_otable_base(dev_priv, i, batch->otable_bo,
298 ttm_bo_unreserve(batch->otable_bo);
300 for (i = 0; i < batch->num_otables; ++i) {
301 if (batch->otables[i].enabled)
303 &batch->otables[i]);
306 ttm_bo_put(batch->otable_bo);
307 batch->otable_bo = NULL;
355 struct vmw_otable_batch *batch)
358 struct ttm_buffer_object *bo = batch->otable_bo;
361 for (i = 0; i < batch->num_otables; ++i)
362 if (batch->otables[i].enabled)
364 &batch->otables[i]);
372 ttm_bo_put(batch->otable_bo);
373 batch->otable_bo = NULL;