Lines Matching refs:batch
238 struct vmw_otable_batch *batch) in vmw_otable_batch_setup() argument
242 struct vmw_otable *otables = batch->otables; in vmw_otable_batch_setup()
247 for (i = 0; i < batch->num_otables; ++i) { in vmw_otable_batch_setup()
257 &batch->otable_bo); in vmw_otable_batch_setup()
262 for (i = 0; i < batch->num_otables; ++i) { in vmw_otable_batch_setup()
263 if (!batch->otables[i].enabled) in vmw_otable_batch_setup()
267 &batch->otable_bo->tbo, in vmw_otable_batch_setup()
278 for (i = 0; i < batch->num_otables; ++i) { in vmw_otable_batch_setup()
279 if (batch->otables[i].enabled) in vmw_otable_batch_setup()
281 &batch->otables[i]); in vmw_otable_batch_setup()
284 vmw_bo_unpin_unlocked(&batch->otable_bo->tbo); in vmw_otable_batch_setup()
285 vmw_bo_unreference(&batch->otable_bo); in vmw_otable_batch_setup()
332 struct vmw_otable_batch *batch) in vmw_otable_batch_takedown() argument
335 struct ttm_buffer_object *bo = &batch->otable_bo->tbo; in vmw_otable_batch_takedown()
338 for (i = 0; i < batch->num_otables; ++i) in vmw_otable_batch_takedown()
339 if (batch->otables[i].enabled) in vmw_otable_batch_takedown()
341 &batch->otables[i]); in vmw_otable_batch_takedown()
350 vmw_bo_unreference(&batch->otable_bo); in vmw_otable_batch_takedown()