/external/libdrm/freedreno/ |
D | freedreno_bo.c | 41 static void set_name(struct fd_bo *bo, uint32_t name) in set_name() 51 struct fd_bo *bo = NULL; in lookup_bo() local 66 struct fd_bo *bo; in bo_from_handle() local 96 struct fd_bo *bo; in fd_cleanup_bo_cache() local 130 static int is_idle(struct fd_bo *bo) in is_idle() 141 struct fd_bo *bo = NULL; in find_in_bucket() local 176 struct fd_bo *bo = NULL; in fd_bo_new() local 210 struct fd_bo *bo = NULL; in fd_bo_from_handle() local 231 struct fd_bo *bo; in fd_bo_from_dmabuf() local 260 struct fd_bo *bo; in fd_bo_from_name() local [all …]
|
/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/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/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 | 161 drm_intel_bo *bo; member 166 drm_intel_bo bo; member 316 static inline drm_intel_bo_gem *to_bo_gem(drm_intel_bo *bo) in to_bo_gem() 426 drm_intel_bo *bo = bufmgr_gem->exec_bos[i]; in drm_intel_gem_dump_validation_list() local 475 drm_intel_gem_bo_reference(drm_intel_bo *bo) in drm_intel_gem_bo_reference() 491 drm_intel_add_validate_buffer(drm_intel_bo *bo) in drm_intel_add_validate_buffer() 529 drm_intel_add_validate_buffer2(drm_intel_bo *bo, int need_fence) in drm_intel_add_validate_buffer2() 621 drm_intel_setup_reloc_list(drm_intel_bo *bo) in drm_intel_setup_reloc_list() 650 drm_intel_gem_bo_busy(drm_intel_bo *bo) in drm_intel_gem_bo_busy() 689 drm_intel_gem_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_gem_bo_madvise() [all …]
|
D | intel_bufmgr_fake.c | 110 drm_intel_bo *bo; member 187 drm_intel_bo bo; member 423 alloc_block(drm_intel_bo *bo) in alloc_block() 495 alloc_backing_store(drm_intel_bo *bo) in alloc_backing_store() 511 free_backing_store(drm_intel_bo *bo) in free_backing_store() 523 set_dirty(drm_intel_bo *bo) in set_dirty() 658 evict_and_alloc_block(drm_intel_bo *bo) in evict_and_alloc_block() 744 drm_intel_fake_bo_wait_rendering_locked(drm_intel_bo *bo) in drm_intel_fake_bo_wait_rendering_locked() 757 drm_intel_fake_bo_wait_rendering(drm_intel_bo *bo) in drm_intel_fake_bo_wait_rendering() 901 drm_intel_fake_bo_reference(drm_intel_bo *bo) in drm_intel_fake_bo_reference() [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/mesa3d/src/gbm/main/ |
D | gbm.c | 177 gbm_bo_get_width(struct gbm_bo *bo) in gbm_bo_get_width() 188 gbm_bo_get_height(struct gbm_bo *bo) in gbm_bo_get_height() 202 gbm_bo_get_stride(struct gbm_bo *bo) in gbm_bo_get_stride() 215 gbm_bo_get_format(struct gbm_bo *bo) in gbm_bo_get_format() 229 gbm_bo_get_handle(struct gbm_bo *bo) in gbm_bo_get_handle() 248 gbm_bo_write(struct gbm_bo *bo, const void *buf, size_t count) in gbm_bo_write() 259 gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device() 272 gbm_bo_set_user_data(struct gbm_bo *bo, void *data, in gbm_bo_set_user_data() 288 gbm_bo_get_user_data(struct gbm_bo *bo) in gbm_bo_get_user_data() 300 gbm_bo_destroy(struct gbm_bo *bo) in gbm_bo_destroy() [all …]
|
/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/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 95 static int check_bo(struct gbm_bo *bo) in check_bo() 259 struct gbm_bo *bo; in test_reinit() local 274 struct gbm_bo *bo; in test_alloc_free() local 289 struct gbm_bo *bo; in test_alloc_free_sizes() local 296 struct gbm_bo *bo; in test_alloc_free_sizes() local 303 struct gbm_bo *bo; in test_alloc_free_sizes() local 322 struct gbm_bo *bo; in test_alloc_free_formats() local 344 struct gbm_bo *bo; in test_alloc_free_usage() local 362 void destroy_data1(struct gbm_bo *bo, void *data) in destroy_data1() 367 void destroy_data2(struct gbm_bo *bo, void *data) in destroy_data2() [all …]
|
/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 void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy() 162 struct fd_bo *bo; in kgsl_bo_from_handle() local 181 struct fd_bo *bo; in fd_bo_from_fbdev() local 223 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_gpuaddr() local 273 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_set_timestamp() local 291 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_get_timestamp() local
|
/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/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/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/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 void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 131 struct fd_bo *bo; in msm_bo_from_handle() local
|
/external/drm_gralloc/ |
D | gralloc_drm.cpp | 165 struct gralloc_drm_bo_t *bo; in validate_handle() local 205 struct gralloc_drm_bo_t *bo; in gralloc_drm_handle_unregister() local 249 struct gralloc_drm_bo_t *bo; in gralloc_drm_bo_create() local 277 static void gralloc_drm_bo_destroy(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_destroy() 299 void gralloc_drm_bo_decref(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_decref() 316 buffer_handle_t gralloc_drm_bo_get_handle(struct gralloc_drm_bo_t *bo, int *stride) in gralloc_drm_bo_get_handle() 330 struct gralloc_drm_bo_t *bo = handle->data; in gralloc_drm_resolve_format() local 342 int gralloc_drm_bo_lock(struct gralloc_drm_bo_t *bo, in gralloc_drm_bo_lock() 385 void gralloc_drm_bo_unlock(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_unlock()
|
/external/libdrm/tests/planetest/ |
D | bo.c | 23 static void draw_rect_yuv(struct sp_bo *bo, uint32_t x, uint32_t y, uint32_t width, in draw_rect_yuv() 50 void fill_bo(struct sp_bo *bo, uint8_t a, uint8_t r, uint8_t g, uint8_t b) in fill_bo() 58 void draw_rect(struct sp_bo *bo, uint32_t x, uint32_t y, uint32_t width, in draw_rect() 91 static int add_fb_sp_bo(struct sp_bo *bo, uint32_t format) in add_fb_sp_bo() 115 static int map_sp_bo(struct sp_bo *bo) in map_sp_bo() 157 struct sp_bo *bo; in create_sp_bo() local 209 void free_sp_bo(struct sp_bo *bo) in free_sp_bo()
|
/external/libdrm/libkms/ |
D | exynos.c | 65 struct exynos_bo *bo; in exynos_bo_create() local 116 exynos_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in exynos_bo_get_prop() 127 struct exynos_bo *bo = (struct exynos_bo *)_bo; in exynos_bo_map() local 159 struct exynos_bo *bo = (struct exynos_bo *)_bo; in exynos_bo_unmap() local 167 struct exynos_bo *bo = (struct exynos_bo *)_bo; in exynos_bo_destroy() local
|
D | nouveau.c | 80 struct nouveau_bo *bo; in nouveau_bo_create() local 138 nouveau_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in nouveau_bo_get_prop() 149 struct nouveau_bo *bo = (struct nouveau_bo *)_bo; in nouveau_bo_map() local 172 struct nouveau_bo *bo = (struct nouveau_bo *)_bo; in nouveau_bo_unmap() local 180 struct nouveau_bo *bo = (struct nouveau_bo *)_bo; in nouveau_bo_destroy() local
|
D | dumb.c | 76 struct dumb_bo *bo; in dumb_bo_create() local 121 dumb_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in dumb_bo_get_prop() 132 struct dumb_bo *bo = (struct dumb_bo *)_bo; in dumb_bo_map() local 164 struct dumb_bo *bo = (struct dumb_bo *)_bo; in dumb_bo_unmap() local 172 struct dumb_bo *bo = (struct dumb_bo *)_bo; in dumb_bo_destroy() local
|
D | vmwgfx.c | 75 struct vmwgfx_bo *bo; in vmwgfx_bo_create() local 129 vmwgfx_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in vmwgfx_bo_get_prop() 140 struct vmwgfx_bo *bo = (struct vmwgfx_bo *)_bo; in vmwgfx_bo_map() local 163 struct vmwgfx_bo *bo = (struct vmwgfx_bo *)_bo; in vmwgfx_bo_unmap() local 171 struct vmwgfx_bo *bo = (struct vmwgfx_bo *)_bo; in vmwgfx_bo_destroy() local
|
D | radeon.c | 82 struct radeon_bo *bo; in radeon_bo_create() local 143 radeon_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in radeon_bo_get_prop() 154 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_map() local 190 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_unmap() local 201 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_destroy() local
|
D | intel.c | 79 struct intel_bo *bo; in intel_bo_create() local 147 intel_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in intel_bo_get_prop() 158 struct intel_bo *bo = (struct intel_bo *)_bo; in intel_bo_map() local 190 struct intel_bo *bo = (struct intel_bo *)_bo; in intel_bo_unmap() local 198 struct intel_bo *bo = (struct intel_bo *)_bo; in intel_bo_destroy() local
|
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()
|
/external/libdrm/exynos/ |
D | exynos_drm.c | 97 struct exynos_bo *bo; in exynos_bo_create() local 174 void exynos_bo_destroy(struct exynos_bo *bo) in exynos_bo_destroy() 209 struct exynos_bo *bo; in exynos_bo_from_name() local 249 int exynos_bo_get_name(struct exynos_bo *bo, uint32_t *name) in exynos_bo_get_name() 272 uint32_t exynos_bo_handle(struct exynos_bo *bo) in exynos_bo_handle() 285 void *exynos_bo_map(struct exynos_bo *bo) in exynos_bo_map()
|