Home
last modified time | relevance | path

Searched refs:ttm_round_pot (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_bo.c440 size_t page_array_size = ttm_round_pot(num_pages * sizeof(void *)); in vmw_bo_acc_size()
443 size_t backend_size = ttm_round_pot(vmw_tt_size); in vmw_bo_acc_size()
446 ttm_round_pot(sizeof(struct vmw_buffer_object)); in vmw_bo_acc_size()
448 ttm_round_pot(sizeof(struct vmw_user_buffer_object)) + in vmw_bo_acc_size()
454 ttm_round_pot(num_pages * sizeof(dma_addr_t)); in vmw_bo_acc_size()
H A Dvmwgfx_cmdbuf_res.c348 ttm_round_pot(sizeof(struct vmw_cmdbuf_res_manager)) + in vmw_cmdbuf_res_man_size()
349 ttm_round_pot(sizeof(struct hlist_head) << in vmw_cmdbuf_res_man_size()
H A Dvmwgfx_ttm_buffer.c441 sgl_size = ttm_round_pot(sizeof(struct scatterlist)); in vmw_ttm_map_dma()
442 sgt_size = ttm_round_pot(sizeof(struct sg_table)); in vmw_ttm_map_dma()
672 ttm_round_pot(ttm->num_pages * sizeof(dma_addr_t)); in vmw_ttm_populate()
703 ttm_round_pot(ttm->num_pages * sizeof(dma_addr_t)); in vmw_ttm_unpopulate()
H A Dvmwgfx_shader.c609 vmw_shader_dx_size = ttm_round_pot(sizeof(*shader)); in vmw_dx_shader_add()
738 ttm_round_pot(sizeof(struct vmw_user_shader)) + in vmw_user_shader_alloc()
809 ttm_round_pot(sizeof(struct vmw_shader)) + in vmw_shader_alloc()
H A Dvmwgfx_simple_resource.c167 account_size = ttm_round_pot(alloc_size) + VMW_IDA_ACC_SIZE + in vmw_simple_resource_create_ioctl()
H A Dvmwgfx_fence.c351 fman->user_fence_size = ttm_round_pot(sizeof(struct vmw_user_fence)) + in vmw_fence_manager_init()
353 fman->fence_size = ttm_round_pot(sizeof(struct vmw_fence_obj)); in vmw_fence_manager_init()
355 ttm_round_pot(sizeof(struct vmw_event_fence_action)); in vmw_fence_manager_init()
H A Dttm_object.c554 tdev->dma_buf_size = ttm_round_pot(sizeof(struct dma_buf)) + in ttm_object_device_init()
555 ttm_round_pot(sizeof(struct file)); in ttm_object_device_init()
H A Dvmwgfx_surface.c757 vmw_user_surface_size = ttm_round_pot(sizeof(*user_srf)) + in vmw_surface_define_ioctl()
772 ttm_round_pot(num_sizes * sizeof(struct drm_vmw_size)) + in vmw_surface_define_ioctl()
773 ttm_round_pot(num_sizes * sizeof(struct vmw_surface_offset)); in vmw_surface_define_ioctl()
1635 vmw_user_surface_size = ttm_round_pot(sizeof(*user_srf)) + in vmw_gb_surface_define_internal()
2089 acc_size = ttm_round_pot(dirty_size); in vmw_surface_dirty_alloc()
H A Dvmwgfx_page_dirty.c254 acc_size = ttm_round_pot(size); in vmw_bo_dirty_add()
H A Dvmwgfx_cotable.c583 cotable_acc_size = ttm_round_pot(sizeof(struct vmw_cotable)); in vmw_cotable_alloc()
H A Dvmwgfx_context.c745 vmw_user_context_size = ttm_round_pot(sizeof(*ctx)) + in vmw_context_define()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/ttm/
H A Dttm_memory.h97 extern size_t ttm_round_pot(size_t size);
/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo.c1449 size += ttm_round_pot(struct_size); in ttm_bo_acc_size()
1450 size += ttm_round_pot(npages * sizeof(void *)); in ttm_bo_acc_size()
1451 size += ttm_round_pot(sizeof(struct ttm_tt)); in ttm_bo_acc_size()
1463 size += ttm_round_pot(struct_size); in ttm_bo_dma_acc_size()
1464 size += ttm_round_pot(npages * (2*sizeof(void *) + sizeof(dma_addr_t))); in ttm_bo_dma_acc_size()
1465 size += ttm_round_pot(sizeof(struct ttm_dma_tt)); in ttm_bo_dma_acc_size()
H A Dttm_memory.c697 size_t ttm_round_pot(size_t size) in ttm_round_pot() function
713 EXPORT_SYMBOL(ttm_round_pot);