Home
last modified time | relevance | path

Searched refs:bo_type (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c441 enum ttm_bo_type bo_type; in lsdc_bo_create() local
467 bo_type = ttm_bo_type_kernel; in lsdc_bo_create()
469 bo_type = ttm_bo_type_sg; in lsdc_bo_create()
471 bo_type = ttm_bo_type_device; in lsdc_bo_create()
476 ret = ttm_bo_init_validate(bdev, tbo, bo_type, &lbo->placement, 0, in lsdc_bo_create()
/linux/drivers/accel/amdxdna/
H A Damdxdna_gem.h71 u32 bo_hdl, u8 bo_type);
H A Damdxdna_gem.c1193 u32 bo_hdl, u8 bo_type) in amdxdna_gem_get_obj() argument
1205 if (bo_type == AMDXDNA_BO_INVALID || abo->type == bo_type) in amdxdna_gem_get_obj()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c412 .interruptible = params->bo_type != ttm_bo_type_kernel, in vmw_bo_init()
432 ret = ttm_bo_init_reserved(bdev, &vmw_bo->tbo, params->bo_type, in vmw_bo_init()
H A Dvmwgfx_ttm_buffer.c573 .bo_type = ttm_bo_type_kernel, in vmw_bo_create_and_populate()
H A Dvmwgfx_cotable.c415 .bo_type = ttm_bo_type_device, in vmw_cotable_resize()
H A Dvmwgfx_shader.c902 .bo_type = ttm_bo_type_device, in vmw_compat_shader_add()
H A Dvmwgfx_resource.c339 .bo_type = ttm_bo_type_device, in vmw_resource_buf_alloc()
H A Dvmwgfx_cmdbuf.c1242 .bo_type = ttm_bo_type_kernel, in vmw_cmdbuf_set_pool_size()
H A Dvmwgfx_drv.c384 .bo_type = ttm_bo_type_kernel, in vmw_dummy_query_bo_create()
H A Dvmwgfx_surface.c828 .bo_type = ttm_bo_type_device, in vmw_surface_define_ioctl()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c1301 enum ttm_bo_type bo_type; in __i915_gem_ttm_object_init() local
1315 bo_type = (obj->flags & I915_BO_ALLOC_USER) ? ttm_bo_type_device : in __i915_gem_ttm_object_init()
1338 ret = ttm_bo_init_reserved(&i915->bdev, i915_gem_to_ttm(obj), bo_type, in __i915_gem_ttm_object_init()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c1716 enum ttm_bo_type bo_type = ttm_bo_type_device; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() local
1763 bo_type = ttm_bo_type_sg; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1820 bo_type, NULL, &gobj, xcp_id + 1); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1835 if (bo_type == ttm_bo_type_sg) { in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()