/external/libdrm/etnaviv/ |
D | etnaviv_bo.c | 38 static void set_name(struct etna_bo *bo, uint32_t name) in set_name() 46 drm_private void bo_del(struct etna_bo *bo) in bo_del() 69 struct etna_bo *bo = NULL; in lookup_bo() local 86 struct etna_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle() local 114 struct etna_bo *bo; in etna_bo_new() local 138 struct etna_bo *etna_bo_ref(struct etna_bo *bo) in etna_bo_ref() 146 static int get_buffer_info(struct etna_bo *bo) in get_buffer_info() 168 struct etna_bo *bo; in etna_bo_from_name() local 205 struct etna_bo *bo; in etna_bo_from_dmabuf() local 233 void etna_bo_del(struct etna_bo *bo) in etna_bo_del() [all …]
|
D | etnaviv_bo_cache.c | 83 struct etna_bo *bo; in etna_bo_cache_cleanup() local 117 static int is_idle(struct etna_bo *bo) in is_idle() 127 struct etna_bo *bo = NULL; in find_in_bucket() local 153 struct etna_bo *bo; in etna_bo_cache_alloc() local 173 drm_private int etna_bo_cache_free(struct etna_bo_cache *cache, struct etna_bo *bo) in etna_bo_cache_free()
|
/external/libdrm/radeon/ |
D | radeon_bo.c | 39 void radeon_bo_debug(struct radeon_bo *bo, const char *op) in radeon_bo_debug() 51 struct radeon_bo *bo; in radeon_bo_open() local 56 void radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref() 63 struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) in radeon_bo_unref() 73 int radeon_bo_map(struct radeon_bo *bo, int write) in radeon_bo_map() 79 int radeon_bo_unmap(struct radeon_bo *bo) in radeon_bo_unmap() 85 int radeon_bo_wait(struct radeon_bo *bo) in radeon_bo_wait() 93 int radeon_bo_is_busy(struct radeon_bo *bo, uint32_t *domain) in radeon_bo_is_busy() 100 radeon_bo_set_tiling(struct radeon_bo *bo, in radeon_bo_set_tiling() 108 radeon_bo_get_tiling(struct radeon_bo *bo, in radeon_bo_get_tiling() [all …]
|
/external/libdrm/freedreno/ |
D | freedreno_bo.c | 40 static void set_name(struct fd_bo *bo, uint32_t name) in set_name() 50 struct fd_bo *bo = NULL; in lookup_bo() local 65 struct fd_bo *bo; in bo_from_handle() local 88 struct fd_bo *bo = NULL; in fd_bo_new() local 111 struct fd_bo *bo = NULL; in fd_bo_from_handle() local 132 struct fd_bo *bo; in fd_bo_from_dmabuf() local 161 struct fd_bo *bo; in fd_bo_from_name() local 189 struct fd_bo * fd_bo_ref(struct fd_bo *bo) in fd_bo_ref() 195 void fd_bo_del(struct fd_bo *bo) in fd_bo_del() 214 drm_private void bo_del(struct fd_bo *bo) in bo_del() [all …]
|
D | freedreno_bo_cache.c | 96 struct fd_bo *bo; in fd_bo_cache_cleanup() local 130 static int is_idle(struct fd_bo *bo) in is_idle() 140 struct fd_bo *bo = NULL; in find_in_bucket() local 168 struct fd_bo *bo = NULL; in fd_bo_cache_alloc() local 197 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
|
/external/libdrm/tests/modetest/ |
D | buffers.c | 47 struct bo struct 61 static struct bo * argument 65 struct bo *bo; in bo_create_dumb() local 95 static int bo_map(struct bo *bo, void **out) in bo_map() 119 static void bo_unmap(struct bo *bo) in bo_unmap() 135 struct bo *bo; in bo_create() local 332 void bo_destroy(struct bo *bo) in bo_destroy()
|
/external/mesa3d/src/gbm/main/ |
D | gbm.c | 141 gbm_bo_get_width(struct gbm_bo *bo) in gbm_bo_get_width() 152 gbm_bo_get_height(struct gbm_bo *bo) in gbm_bo_get_height() 166 gbm_bo_get_stride(struct gbm_bo *bo) in gbm_bo_get_stride() 179 gbm_bo_get_format(struct gbm_bo *bo) in gbm_bo_get_format() 193 gbm_bo_get_handle(struct gbm_bo *bo) in gbm_bo_get_handle() 210 gbm_bo_get_fd(struct gbm_bo *bo) in gbm_bo_get_fd() 230 gbm_bo_write(struct gbm_bo *bo, const void *buf, size_t count) in gbm_bo_write() 241 gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device() 254 gbm_bo_set_user_data(struct gbm_bo *bo, void *data, in gbm_bo_set_user_data() 270 gbm_bo_get_user_data(struct gbm_bo *bo) in gbm_bo_get_user_data() [all …]
|
/external/libdrm/intel/ |
D | intel_bufmgr.c | 90 drm_intel_bo_reference(drm_intel_bo *bo) in drm_intel_bo_reference() 96 drm_intel_bo_unreference(drm_intel_bo *bo) in drm_intel_bo_unreference() 117 drm_intel_bo_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_subdata() 124 drm_intel_bo_get_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_get_subdata() 143 drm_intel_bo_wait_rendering(drm_intel_bo *bo) in drm_intel_bo_wait_rendering() 155 drm_intel_bo_exec(drm_intel_bo *bo, int used, in drm_intel_bo_exec() 162 drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used, in drm_intel_bo_mrb_exec() 194 drm_intel_bo_flink(drm_intel_bo *bo, uint32_t * name) in drm_intel_bo_flink() 203 drm_intel_bo_emit_reloc(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc() 214 drm_intel_bo_emit_reloc_fence(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc_fence() [all …]
|
D | intel_bufmgr_gem.c | 165 drm_intel_bo *bo; member 170 drm_intel_bo bo; member 326 static inline drm_intel_bo_gem *to_bo_gem(drm_intel_bo *bo) in to_bo_gem() 436 drm_intel_bo *bo = bufmgr_gem->exec_bos[i]; in drm_intel_gem_dump_validation_list() local 485 drm_intel_gem_bo_reference(drm_intel_bo *bo) in drm_intel_gem_bo_reference() 501 drm_intel_add_validate_buffer(drm_intel_bo *bo) in drm_intel_add_validate_buffer() 539 drm_intel_add_validate_buffer2(drm_intel_bo *bo, int need_fence) in drm_intel_add_validate_buffer2() 630 drm_intel_setup_reloc_list(drm_intel_bo *bo) in drm_intel_setup_reloc_list() 659 drm_intel_gem_bo_busy(drm_intel_bo *bo) in drm_intel_gem_bo_busy() 698 drm_intel_gem_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_gem_bo_madvise() [all …]
|
/external/libdrm/tegra/ |
D | tegra.c | 42 static void drm_tegra_bo_free(struct drm_tegra_bo *bo) in drm_tegra_bo_free() 112 struct drm_tegra_bo *bo; in drm_tegra_bo_new() local 149 struct drm_tegra_bo *bo; in drm_tegra_bo_wrap() local 172 struct drm_tegra_bo *bo; in drm_tegra_bo_name_ref() local 201 int drm_tegra_bo_name_get(struct drm_tegra_bo *bo, uint32_t *name) in drm_tegra_bo_name_get() 224 struct drm_tegra_bo *drm_tegra_bo_ref(struct drm_tegra_bo *bo) in drm_tegra_bo_ref() 232 void drm_tegra_bo_unref(struct drm_tegra_bo *bo) in drm_tegra_bo_unref() 238 int drm_tegra_bo_get_handle(struct drm_tegra_bo *bo, uint32_t *handle) in drm_tegra_bo_get_handle() 248 int drm_tegra_bo_map(struct drm_tegra_bo *bo, void **ptr) in drm_tegra_bo_map() 280 int drm_tegra_bo_unmap(struct drm_tegra_bo *bo) in drm_tegra_bo_unmap() [all …]
|
/external/libdrm/tests/radeon/ |
D | rbo.c | 39 struct rbo *bo; in rbo() local 94 int rbo_map(struct rbo *bo) in rbo_map() 124 void rbo_unmap(struct rbo *bo) in rbo_unmap() 133 struct rbo *rbo_incref(struct rbo *bo) in rbo_incref() 139 struct rbo *rbo_decref(struct rbo *bo) in rbo_decref() 158 int rbo_wait(struct rbo *bo) in rbo_wait()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 52 static inline struct radeon_bo *radeon_bo(struct pb_buffer *bo) in radeon_bo() 63 static bool radeon_real_bo_is_busy(struct radeon_bo *bo) in radeon_real_bo_is_busy() 72 static bool radeon_bo_is_busy(struct radeon_bo *bo) in radeon_bo_is_busy() 96 static void radeon_real_bo_wait_idle(struct radeon_bo *bo) in radeon_real_bo_wait_idle() 105 static void radeon_bo_wait_idle(struct radeon_bo *bo) in radeon_bo_wait_idle() 135 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_wait() local 179 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_bo_get_initial_domain() local 331 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy() local 397 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy_or_cache() local 407 void *radeon_bo_do_map(struct radeon_bo *bo) in radeon_bo_do_map() [all …]
|
/external/libdrm/rockchip/ |
D | rockchip_drm.c | 94 struct rockchip_bo *bo; in rockchip_bo_create() local 135 struct rockchip_bo *bo; in rockchip_bo_from_handle() local 162 void rockchip_bo_destroy(struct rockchip_bo *bo) in rockchip_bo_destroy() 197 struct rockchip_bo *bo; in rockchip_bo_from_name() local 237 int rockchip_bo_get_name(struct rockchip_bo *bo, uint32_t *name) in rockchip_bo_get_name() 260 uint32_t rockchip_bo_handle(struct rockchip_bo *bo) in rockchip_bo_handle() 273 void *rockchip_bo_map(struct rockchip_bo *bo) in rockchip_bo_map()
|
/external/libdrm/freedreno/kgsl/ |
D | kgsl_bo.c | 50 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc() local 74 static int kgsl_bo_offset(struct fd_bo *bo, uint64_t *offset) in kgsl_bo_offset() 84 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep() 115 static void kgsl_bo_cpu_fini(struct fd_bo *bo) in kgsl_bo_cpu_fini() 119 static int kgsl_bo_madvise(struct fd_bo *bo, int willneed) in kgsl_bo_madvise() 124 static void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy() 168 struct fd_bo *bo; in kgsl_bo_from_handle() local 187 struct fd_bo *bo; in fd_bo_from_fbdev() local 229 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_gpuaddr() local 279 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_set_timestamp() local [all …]
|
/external/mesa3d/src/gallium/winsys/intel/drm/ |
D | intel_drm_winsys.c | 65 gem_bo(const struct intel_bo *bo) in gem_bo() 94 drm_intel_bo *bo; in test_address_swizzling() local 282 drm_intel_bo *bo; in intel_winsys_alloc_bo() local 313 drm_intel_bo *bo; in intel_winsys_import_handle() local 358 struct intel_bo *bo, in intel_winsys_export_handle() 413 struct intel_bo *bo, int used, in intel_winsys_submit_bo() 435 struct intel_bo *bo, int used) in intel_winsys_decode_bo() 473 intel_bo_ref(struct intel_bo *bo) in intel_bo_ref() 482 intel_bo_unref(struct intel_bo *bo) in intel_bo_unref() 489 intel_bo_set_tiling(struct intel_bo *bo, in intel_bo_set_tiling() [all …]
|
/external/libdrm/freedreno/msm/ |
D | msm_bo.c | 37 struct fd_bo *bo = &msm_bo->base; in bo_allocate() local 61 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset() 71 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep() 83 static void msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini() 92 static int msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise() 111 static void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 151 struct fd_bo *bo; in msm_bo_from_handle() local
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.c | 39 struct radv_amdgpu_winsys_bo *bo = radv_amdgpu_winsys_bo(_bo); in radv_amdgpu_winsys_bo_destroy() local 53 static void radv_amdgpu_add_buffer_to_global_list(struct radv_amdgpu_winsys_bo *bo) in radv_amdgpu_add_buffer_to_global_list() 73 struct radv_amdgpu_winsys_bo *bo; in radv_amdgpu_winsys_bo_create() local 139 struct radv_amdgpu_winsys_bo *bo = radv_amdgpu_winsys_bo(_bo); in radv_amdgpu_winsys_bo_get_va() local 146 struct radv_amdgpu_winsys_bo *bo = radv_amdgpu_winsys_bo(_bo); in radv_amdgpu_winsys_bo_map() local 158 struct radv_amdgpu_winsys_bo *bo = radv_amdgpu_winsys_bo(_bo); in radv_amdgpu_winsys_bo_unmap() local 168 struct radv_amdgpu_winsys_bo *bo; in radv_amdgpu_winsys_bo_from_fd() local 225 struct radv_amdgpu_winsys_bo *bo = radv_amdgpu_winsys_bo(_bo); in radv_amdgpu_winsys_get_fd() local 256 struct radv_amdgpu_winsys_bo *bo = radv_amdgpu_winsys_bo(_bo); in radv_amdgpu_winsys_bo_set_metadata() local
|
/external/libdrm/omap/ |
D | omap_drm.c | 167 struct omap_bo *bo = NULL; in lookup_bo() local 179 struct omap_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle() local 200 struct omap_bo *bo = NULL; in omap_bo_new_impl() local 262 struct omap_bo *omap_bo_ref(struct omap_bo *bo) in omap_bo_ref() 269 static int get_buffer_info(struct omap_bo *bo) in get_buffer_info() 291 struct omap_bo *bo = NULL; in omap_bo_from_name() local 325 struct omap_bo *bo = NULL; in omap_bo_from_dmabuf() local 354 void omap_bo_del(struct omap_bo *bo) in omap_bo_del() 387 int omap_bo_get_name(struct omap_bo *bo, uint32_t *name) in omap_bo_get_name() 408 uint32_t omap_bo_handle(struct omap_bo *bo) in omap_bo_handle() [all …]
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 51 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_wait() local 147 static void amdgpu_bo_remove_fences(struct amdgpu_winsys_bo *bo) in amdgpu_bo_remove_fences() 159 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_destroy() local 191 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_destroy_or_cache() local 205 struct amdgpu_winsys_bo *bo = (struct amdgpu_winsys_bo*)buf; in amdgpu_bo_map() local 320 struct amdgpu_winsys_bo *bo = (struct amdgpu_winsys_bo*)buf; in amdgpu_bo_unmap() local 343 static void amdgpu_add_buffer_to_global_list(struct amdgpu_winsys_bo *bo) in amdgpu_add_buffer_to_global_list() 366 struct amdgpu_winsys_bo *bo; in amdgpu_create_bo() local 447 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_can_reclaim() local 458 struct amdgpu_winsys_bo *bo = NULL; /* fix container_of */ in amdgpu_bo_can_reclaim_slab() local [all …]
|
/external/drm_gralloc/ |
D | gralloc_drm.cpp | 165 struct gralloc_drm_bo_t *bo; in validate_handle() local 197 struct gralloc_drm_bo_t *bo; in gralloc_drm_handle_register() local 213 struct gralloc_drm_bo_t *bo; in gralloc_drm_handle_unregister() local 258 struct gralloc_drm_bo_t *bo; in gralloc_drm_bo_create() local 286 static void gralloc_drm_bo_destroy(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_destroy() 308 void gralloc_drm_bo_decref(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_decref() 325 buffer_handle_t gralloc_drm_bo_get_handle(struct gralloc_drm_bo_t *bo, int *stride) in gralloc_drm_bo_get_handle() 339 struct gralloc_drm_bo_t *bo = handle->data; in gralloc_drm_resolve_format() local 351 int gralloc_drm_bo_lock(struct gralloc_drm_bo_t *bo, in gralloc_drm_bo_lock() 394 void gralloc_drm_bo_unlock(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_unlock()
|
/external/libdrm/amdgpu/ |
D | amdgpu_bo.c | 56 drm_private void amdgpu_bo_free_internal(amdgpu_bo_handle bo) in amdgpu_bo_free_internal() 83 struct amdgpu_bo *bo; in amdgpu_bo_alloc() local 124 int amdgpu_bo_set_metadata(amdgpu_bo_handle bo, in amdgpu_bo_set_metadata() 147 int amdgpu_bo_query_info(amdgpu_bo_handle bo, in amdgpu_bo_query_info() 198 static void amdgpu_add_handle_to_table(amdgpu_bo_handle bo) in amdgpu_add_handle_to_table() 206 static int amdgpu_bo_export_flink(amdgpu_bo_handle bo) in amdgpu_bo_export_flink() 254 int amdgpu_bo_export(amdgpu_bo_handle bo, in amdgpu_bo_export() 288 struct amdgpu_bo *bo = NULL; in amdgpu_bo_import() local 427 int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu) in amdgpu_bo_cpu_map() 475 int amdgpu_bo_cpu_unmap(amdgpu_bo_handle bo) in amdgpu_bo_cpu_unmap() [all …]
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_bufmgr.c | 82 vc4_bo_remove_from_cache(struct vc4_bo_cache *cache, struct vc4_bo *bo) in vc4_bo_remove_from_cache() 99 struct vc4_bo *bo = NULL; in vc4_bo_from_cache() local 126 struct vc4_bo *bo; in vc4_bo_alloc() local 185 vc4_bo_last_unreference(struct vc4_bo *bo) in vc4_bo_last_unreference() 197 vc4_bo_free(struct vc4_bo *bo) in vc4_bo_free() 274 vc4_bo_last_unreference_locked_timed(struct vc4_bo *bo, time_t time) in vc4_bo_last_unreference_locked_timed() 321 struct vc4_bo *bo; in vc4_bo_open_handle() local 393 vc4_bo_get_dmabuf(struct vc4_bo *bo) in vc4_bo_get_dmabuf() 415 struct vc4_bo *bo; in vc4_bo_alloc_shader() local 453 vc4_bo_flink(struct vc4_bo *bo, uint32_t *name) in vc4_bo_flink() [all …]
|
/external/libxcam/modules/ocl/intel/ |
D | cl_va_memory.cpp | 28 SmartPtr<DrmBoBuffer> &bo) in CLVaBuffer() 36 CLVaBuffer::init_va_buffer (const SmartPtr<CLIntelContext> &context, SmartPtr<DrmBoBuffer> &bo) in init_va_buffer() 64 SmartPtr<DrmBoBuffer> &bo, in CLVaImage() 90 SmartPtr<DrmBoBuffer> &bo, in CLVaImage() 133 const SmartPtr<CLIntelContext> &context, SmartPtr<DrmBoBuffer> &bo, in init_va_image()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 193 static int check_bo(struct gbm_bo *bo) in check_bo() 395 struct gbm_bo *bo; in test_reinit() local 410 struct gbm_bo *bo; in test_alloc_free() local 425 struct gbm_bo *bo; in test_alloc_free_sizes() local 432 struct gbm_bo *bo; in test_alloc_free_sizes() local 439 struct gbm_bo *bo; in test_alloc_free_sizes() local 458 struct gbm_bo *bo; in test_alloc_free_formats() local 481 struct gbm_bo *bo; in test_alloc_free_usage() local 503 void destroy_data1(struct gbm_bo *bo, void *data) in destroy_data1() 508 void destroy_data2(struct gbm_bo *bo, void *data) in destroy_data2() [all …]
|
/external/libdrm/libkms/ |
D | api.c | 104 int kms_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in kms_bo_get_prop() 120 int kms_bo_map(struct kms_bo *bo, void **out) in kms_bo_map() 125 int kms_bo_unmap(struct kms_bo *bo) in kms_bo_unmap() 130 int kms_bo_destroy(struct kms_bo **bo) in kms_bo_destroy()
|