Lines Matching defs:batch
236 struct vmw_otable_batch *batch)
240 struct vmw_otable *otables = batch->otables;
245 for (i = 0; i < batch->num_otables; ++i) {
254 ret = vmw_bo_create_and_populate(dev_priv, bo_size, &batch->otable_bo);
259 for (i = 0; i < batch->num_otables; ++i) {
260 if (!batch->otables[i].enabled)
263 ret = vmw_setup_otable_base(dev_priv, i, batch->otable_bo,
274 for (i = 0; i < batch->num_otables; ++i) {
275 if (batch->otables[i].enabled)
277 &batch->otables[i]);
280 ttm_bo_put(batch->otable_bo);
281 batch->otable_bo = NULL;
328 struct vmw_otable_batch *batch)
331 struct ttm_buffer_object *bo = batch->otable_bo;
334 for (i = 0; i < batch->num_otables; ++i)
335 if (batch->otables[i].enabled)
337 &batch->otables[i]);
345 ttm_bo_put(batch->otable_bo);
346 batch->otable_bo = NULL;