/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 236 size_t size, acc_size; in vmw_bo_dirty_add() local 249 acc_size = ttm_round_pot(size); in vmw_bo_dirty_add() 250 ret = ttm_mem_global_alloc(&ttm_mem_glob, acc_size, &ctx); in vmw_bo_dirty_add() 262 dirty->size = acc_size; in vmw_bo_dirty_add() 288 ttm_mem_global_free(&ttm_mem_glob, acc_size); in vmw_bo_dirty_add() 307 size_t acc_size = dirty->size; in vmw_bo_dirty_release() local 310 ttm_mem_global_free(&ttm_mem_glob, acc_size); in vmw_bo_dirty_release()
|
D | vmwgfx_bo.c | 511 size_t acc_size; in vmw_bo_init() local 517 acc_size = vmw_bo_acc_size(dev_priv, size, user); in vmw_bo_init() 525 0, interruptible, acc_size, in vmw_bo_init()
|
D | vmwgfx_surface.c | 1968 size_t dirty_size, acc_size; in vmw_surface_dirty_alloc() local 1986 acc_size = ttm_round_pot(dirty_size); in vmw_surface_dirty_alloc() 1988 acc_size, &ctx); in vmw_surface_dirty_alloc() 2009 dirty->size = acc_size; in vmw_surface_dirty_alloc() 2017 ttm_mem_global_free(vmw_mem_glob(res->dev_priv), acc_size); in vmw_surface_dirty_alloc() 2028 size_t acc_size = dirty->size; in vmw_surface_dirty_free() local 2031 ttm_mem_global_free(vmw_mem_glob(res->dev_priv), acc_size); in vmw_surface_dirty_free()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_bo_api.h | 130 size_t acc_size; member 400 size_t acc_size, 445 uint32_t page_alignment, bool interrubtible, size_t acc_size,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 514 size_t acc_size = bo->acc_size; in ttm_bo_release() local 575 ttm_mem_global_free(&ttm_mem_glob, acc_size); in ttm_bo_release() 1128 size_t acc_size, in ttm_bo_init_reserved() argument 1138 ret = ttm_mem_global_alloc(mem_glob, acc_size, ctx); in ttm_bo_init_reserved() 1155 ttm_mem_global_free(mem_glob, acc_size); in ttm_bo_init_reserved() 1176 bo->acc_size = acc_size; in ttm_bo_init_reserved() 1235 size_t acc_size, in ttm_bo_init() argument 1244 page_alignment, &ctx, acc_size, in ttm_bo_init() 1292 size_t acc_size; in ttm_bo_create() local 1299 acc_size = ttm_bo_acc_size(bdev, size, sizeof(struct ttm_buffer_object)); in ttm_bo_create() [all …]
|
D | ttm_bo_util.c | 374 fbo->base.acc_size = 0; in ttm_buffer_object_transfer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 120 size_t acc_size, system_mem_needed, ttm_mem_needed, vram_needed; in amdgpu_amdkfd_reserve_mem_limit() local 123 acc_size = ttm_bo_dma_acc_size(&adev->mman.bdev, size, in amdgpu_amdkfd_reserve_mem_limit() 129 system_mem_needed = acc_size + size; in amdgpu_amdkfd_reserve_mem_limit() 130 ttm_mem_needed = acc_size + size; in amdgpu_amdkfd_reserve_mem_limit() 133 system_mem_needed = acc_size + size; in amdgpu_amdkfd_reserve_mem_limit() 134 ttm_mem_needed = acc_size; in amdgpu_amdkfd_reserve_mem_limit() 137 system_mem_needed = acc_size; in amdgpu_amdkfd_reserve_mem_limit() 138 ttm_mem_needed = acc_size; in amdgpu_amdkfd_reserve_mem_limit() 169 size_t acc_size; in unreserve_mem_limit() local 171 acc_size = ttm_bo_dma_acc_size(&adev->mman.bdev, size, in unreserve_mem_limit() [all …]
|
D | amdgpu_object.c | 535 size_t acc_size; in amdgpu_bo_do_create() local 558 acc_size = ttm_bo_dma_acc_size(&adev->mman.bdev, size, in amdgpu_bo_do_create() 589 &bo->placement, page_align, &ctx, acc_size, in amdgpu_bo_do_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 181 size_t acc_size; in drm_gem_vram_init() local 197 acc_size = ttm_bo_dma_acc_size(bdev, size, sizeof(*gbo)); in drm_gem_vram_init() 204 &gbo->placement, pg_align, false, acc_size, in drm_gem_vram_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_object.c | 192 size_t acc_size; in radeon_bo_create() local 206 acc_size = ttm_bo_dma_acc_size(&rdev->mman.bdev, size, in radeon_bo_create() 263 &bo->placement, page_align, !kernel, acc_size, in radeon_bo_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 305 size_t acc_size; in nouveau_bo_init() local 308 acc_size = ttm_bo_dma_acc_size(nvbo->bo.bdev, size, sizeof(*nvbo)); in nouveau_bo_init() 316 acc_size, sg, robj, nouveau_bo_del_ttm); in nouveau_bo_init()
|