Searched refs:otables (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mob.c242 struct vmw_otable *otables = batch->otables; vmw_otable_batch_setup() local
248 if (!otables[i].enabled) vmw_otable_batch_setup()
251 otables[i].size = vmw_otable_batch_setup()
252 (otables[i].size + PAGE_SIZE - 1) & PAGE_MASK; vmw_otable_batch_setup()
253 bo_size += otables[i].size; vmw_otable_batch_setup()
278 if (!batch->otables[i].enabled) vmw_otable_batch_setup()
283 &otables[i]); vmw_otable_batch_setup()
286 offset += otables[i].size; vmw_otable_batch_setup()
295 if (batch->otables[i].enabled) vmw_otable_batch_setup()
297 &batch->otables[i]); vmw_otable_batch_setup()
318 struct vmw_otable **otables = &dev_priv->otable_batch.otables; vmw_otables_setup() local
322 *otables = kmalloc(sizeof(dx_tables), GFP_KERNEL); vmw_otables_setup()
323 if (*otables == NULL) vmw_otables_setup()
326 memcpy(*otables, dx_tables, sizeof(dx_tables)); vmw_otables_setup()
329 *otables = kmalloc(sizeof(pre_dx_tables), GFP_KERNEL); vmw_otables_setup()
330 if (*otables == NULL) vmw_otables_setup()
333 memcpy(*otables, pre_dx_tables, sizeof(pre_dx_tables)); vmw_otables_setup()
344 kfree(*otables); vmw_otables_setup()
356 if (batch->otables[i].enabled) vmw_otable_batch_takedown()
358 &batch->otables[i]); vmw_otable_batch_takedown()
379 kfree(dev_priv->otable_batch.otables); vmw_otables_takedown()
H A Dvmwgfx_drv.c358 * This function performs setup of otables and enables large command
H A Dvmwgfx_drv.h350 struct vmw_otable *otables; member in struct:vmw_otable_batch

Completed in 239 milliseconds