/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_bo.c | 37 set_name(struct fd_bo *bo, uint32_t name) in set_name() 48 struct fd_bo *bo = NULL; in lookup_bo() local 64 struct fd_bo *bo; in bo_from_handle() local 93 struct fd_bo *bo = NULL; in bo_new() local 125 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in _fd_bo_new() local 132 _fd_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap) in _fd_bo_set_name() 146 struct fd_bo *bo = bo_new(dev, size, flags, &dev->ring_cache); in fd_bo_new_ring() local 158 struct fd_bo *bo = NULL; in fd_bo_from_handle() local 181 struct fd_bo *bo; in fd_bo_from_dmabuf() local 214 struct fd_bo *bo; in fd_bo_from_name() local [all …]
|
D | msm_bo.c | 32 struct fd_bo *bo = &msm_bo->base; in bo_allocate() local 58 msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset() 69 msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep() 82 msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini() 92 msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise() 113 msm_bo_iova(struct fd_bo *bo) in msm_bo_iova() 129 msm_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap) in msm_bo_set_name() 150 msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 201 struct fd_bo *bo; in msm_bo_from_handle() local
|
/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_bo.c | 37 static void set_name(struct etna_bo *bo, uint32_t name) in set_name() 47 void _etna_bo_del(struct etna_bo *bo) in _etna_bo_del() 77 struct etna_bo *bo = NULL; in lookup_bo() local 99 struct etna_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle() local 132 struct etna_bo *bo; in etna_bo_new() local 158 struct etna_bo *etna_bo_ref(struct etna_bo *bo) in etna_bo_ref() 166 static int get_buffer_info(struct etna_bo *bo) in get_buffer_info() 189 struct etna_bo *bo; in etna_bo_from_name() local 228 struct etna_bo *bo; in etna_bo_from_dmabuf() local 263 void etna_bo_del(struct etna_bo *bo) in etna_bo_del() [all …]
|
/third_party/libdrm/freedreno/ |
D | freedreno_bo.c | 36 static void set_name(struct fd_bo *bo, uint32_t name) in set_name() 46 struct fd_bo *bo = NULL; in lookup_bo() local 61 struct fd_bo *bo; in bo_from_handle() local 85 struct fd_bo *bo = NULL; in bo_new() local 109 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in fd_bo_new() local 123 struct fd_bo *bo = bo_new(dev, size, flags, &dev->ring_cache); in fd_bo_new_ring() local 132 struct fd_bo *bo = NULL; in fd_bo_from_handle() local 155 struct fd_bo *bo; in fd_bo_from_dmabuf() local 187 struct fd_bo *bo; in fd_bo_from_name() local 217 drm_public uint64_t fd_bo_get_iova(struct fd_bo *bo) in fd_bo_get_iova() [all …]
|
/third_party/libdrm/etnaviv/ |
D | etnaviv_bo.c | 34 static void set_name(struct etna_bo *bo, uint32_t name) in set_name() 42 drm_private void bo_del(struct etna_bo *bo) in bo_del() 65 struct etna_bo *bo = NULL; in lookup_bo() local 82 struct etna_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle() local 110 struct etna_bo *bo; in etna_bo_new() local 134 drm_public struct etna_bo *etna_bo_ref(struct etna_bo *bo) in etna_bo_ref() 142 static int get_buffer_info(struct etna_bo *bo) in get_buffer_info() 165 struct etna_bo *bo; in etna_bo_from_name() local 202 struct etna_bo *bo; in etna_bo_from_dmabuf() local 235 drm_public void etna_bo_del(struct etna_bo *bo) in etna_bo_del() [all …]
|
/third_party/libdrm/radeon/ |
D | radeon_bo.c | 36 drm_public void radeon_bo_debug(struct radeon_bo *bo, const char *op) in radeon_bo_debug() 48 struct radeon_bo *bo; in radeon_bo_open() local 53 drm_public void radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref() 60 drm_public struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) in radeon_bo_unref() 70 drm_public int radeon_bo_map(struct radeon_bo *bo, int write) in radeon_bo_map() 76 drm_public int radeon_bo_unmap(struct radeon_bo *bo) in radeon_bo_unmap() 82 drm_public int radeon_bo_wait(struct radeon_bo *bo) in radeon_bo_wait() 90 drm_public int radeon_bo_is_busy(struct radeon_bo *bo, uint32_t *domain) in radeon_bo_is_busy() 97 radeon_bo_set_tiling(struct radeon_bo *bo, in radeon_bo_set_tiling() 105 radeon_bo_get_tiling(struct radeon_bo *bo, in radeon_bo_get_tiling() [all …]
|
/third_party/libdrm/tests/modetest/ |
D | buffers.c | 43 struct bo struct 57 static struct bo * argument 61 struct bo *bo; in bo_create_dumb() local 91 static int bo_map(struct bo *bo, void **out) in bo_map() 115 static void bo_unmap(struct bo *bo) in bo_unmap() 131 struct bo *bo; in bo_create() local 341 void bo_destroy(struct bo *bo) in bo_destroy()
|
/third_party/libdrm/intel/ |
D | intel_bufmgr.c | 86 drm_intel_bo_reference(drm_intel_bo *bo) in drm_intel_bo_reference() 92 drm_intel_bo_unreference(drm_intel_bo *bo) in drm_intel_bo_unreference() 113 drm_intel_bo_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_subdata() 120 drm_intel_bo_get_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_get_subdata() 139 drm_intel_bo_wait_rendering(drm_intel_bo *bo) in drm_intel_bo_wait_rendering() 151 drm_intel_bo_exec(drm_intel_bo *bo, int used, in drm_intel_bo_exec() 158 drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used, in drm_intel_bo_mrb_exec() 190 drm_intel_bo_flink(drm_intel_bo *bo, uint32_t * name) in drm_intel_bo_flink() 199 drm_intel_bo_emit_reloc(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc() 210 drm_intel_bo_emit_reloc_fence(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc_fence() [all …]
|
/third_party/mesa3d/src/gbm/main/ |
D | gbm.c | 151 gbm_bo_get_width(struct gbm_bo *bo) in gbm_bo_get_width() 162 gbm_bo_get_height(struct gbm_bo *bo) in gbm_bo_get_height() 176 gbm_bo_get_stride(struct gbm_bo *bo) in gbm_bo_get_stride() 189 gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane) in gbm_bo_get_stride_for_plane() 202 gbm_bo_get_format(struct gbm_bo *bo) in gbm_bo_get_format() 220 gbm_bo_get_bpp(struct gbm_bo *bo) in gbm_bo_get_bpp() 286 gbm_bo_get_offset(struct gbm_bo *bo, int plane) in gbm_bo_get_offset() 297 gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device() 311 gbm_bo_get_handle(struct gbm_bo *bo) in gbm_bo_get_handle() 328 gbm_bo_get_fd(struct gbm_bo *bo) in gbm_bo_get_fd() [all …]
|
/third_party/libdrm/tegra/ |
D | tegra.c | 38 static void drm_tegra_bo_free(struct drm_tegra_bo *bo) in drm_tegra_bo_free() 108 struct drm_tegra_bo *bo; in drm_tegra_bo_new() local 145 struct drm_tegra_bo *bo; in drm_tegra_bo_wrap() local 165 drm_public struct drm_tegra_bo *drm_tegra_bo_ref(struct drm_tegra_bo *bo) in drm_tegra_bo_ref() 173 drm_public void drm_tegra_bo_unref(struct drm_tegra_bo *bo) in drm_tegra_bo_unref() 179 drm_public int drm_tegra_bo_get_handle(struct drm_tegra_bo *bo, uint32_t *handle) in drm_tegra_bo_get_handle() 189 drm_public int drm_tegra_bo_map(struct drm_tegra_bo *bo, void **ptr) in drm_tegra_bo_map() 221 drm_public int drm_tegra_bo_unmap(struct drm_tegra_bo *bo) in drm_tegra_bo_unmap() 237 drm_public int drm_tegra_bo_get_flags(struct drm_tegra_bo *bo, uint32_t *flags) in drm_tegra_bo_get_flags() 260 drm_public int drm_tegra_bo_set_flags(struct drm_tegra_bo *bo, uint32_t flags) in drm_tegra_bo_set_flags() [all …]
|
/third_party/libdrm/freedreno/msm/ |
D | msm_bo.c | 33 struct fd_bo *bo = &msm_bo->base; in bo_allocate() local 57 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset() 67 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep() 79 static void msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini() 88 static int msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise() 107 static uint64_t msm_bo_iova(struct fd_bo *bo) in msm_bo_iova() 119 static void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 160 struct fd_bo *bo; in msm_bo_from_handle() local
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_bo.c | 63 struct panfrost_bo *bo; in panfrost_bo_alloc() local 93 panfrost_bo_free(struct panfrost_bo *bo) in panfrost_bo_free() 114 panfrost_bo_wait(struct panfrost_bo *bo, int64_t timeout_ns, bool wait_readers) in panfrost_bo_wait() 198 struct panfrost_bo *bo = NULL; in panfrost_bo_cache_fetch() local 266 panfrost_bo_cache_put(struct panfrost_bo *bo) in panfrost_bo_cache_put() 332 panfrost_bo_mmap(struct panfrost_bo *bo) in panfrost_bo_mmap() 358 panfrost_bo_munmap(struct panfrost_bo *bo) in panfrost_bo_munmap() 375 struct panfrost_bo *bo; in panfrost_bo_create() local 425 panfrost_bo_reference(struct panfrost_bo *bo) in panfrost_bo_reference() 434 panfrost_bo_unreference(struct panfrost_bo *bo) in panfrost_bo_unreference() [all …]
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_bo.c | 79 lima_bo_cache_remove(struct lima_bo *bo) in lima_bo_cache_remove() 95 lima_bo_free(struct lima_bo *bo) in lima_bo_free() 129 static bool lima_bo_get_info(struct lima_bo *bo) in lima_bo_get_info() 204 lima_bo_cache_put(struct lima_bo *bo) in lima_bo_cache_put() 241 struct lima_bo *bo = NULL; in lima_bo_cache_get() local 282 struct lima_bo *bo; in lima_bo_create() local 329 void lima_bo_unreference(struct lima_bo *bo) in lima_bo_unreference() 341 void *lima_bo_map(struct lima_bo *bo) in lima_bo_map() 353 void lima_bo_unmap(struct lima_bo *bo) in lima_bo_unmap() 361 bool lima_bo_export(struct lima_bo *bo, struct winsys_handle *handle) in lima_bo_export() [all …]
|
/third_party/libdrm/freedreno/kgsl/ |
D | kgsl_bo.c | 46 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc() local 70 static int kgsl_bo_offset(struct fd_bo *bo, uint64_t *offset) in kgsl_bo_offset() 80 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep() 111 static void kgsl_bo_cpu_fini(struct fd_bo *bo) in kgsl_bo_cpu_fini() 115 static int kgsl_bo_madvise(struct fd_bo *bo, int willneed) in kgsl_bo_madvise() 120 static void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy() 164 struct fd_bo *bo; in kgsl_bo_from_handle() local 183 struct fd_bo *bo; in fd_bo_from_fbdev() local 225 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_gpuaddr() local 275 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_set_timestamp() local [all …]
|
/third_party/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() 136 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_wait() local 180 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_bo_get_initial_domain() local 356 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy() local 425 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy_or_cache() local 435 void *radeon_bo_do_map(struct radeon_bo *bo) in radeon_bo_do_map() [all …]
|
/third_party/libdrm/omap/ |
D | omap_drm.c | 163 struct omap_bo *bo = NULL; in lookup_bo() local 175 struct omap_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle() local 196 struct omap_bo *bo = NULL; in omap_bo_new_impl() local 258 drm_public struct omap_bo *omap_bo_ref(struct omap_bo *bo) in omap_bo_ref() 265 static int get_buffer_info(struct omap_bo *bo) in get_buffer_info() 287 struct omap_bo *bo = NULL; in omap_bo_from_name() local 321 struct omap_bo *bo = NULL; in omap_bo_from_dmabuf() local 350 drm_public void omap_bo_del(struct omap_bo *bo) in omap_bo_del() 383 drm_public int omap_bo_get_name(struct omap_bo *bo, uint32_t *name) in omap_bo_get_name() 404 drm_public uint32_t omap_bo_handle(struct omap_bo *bo) in omap_bo_handle() [all …]
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_bufmgr.c | 52 vc4_bo_label(struct vc4_screen *screen, struct vc4_bo *bo, const char *fmt, ...) in vc4_bo_label() 108 vc4_bo_remove_from_cache(struct vc4_bo_cache *cache, struct vc4_bo *bo) in vc4_bo_remove_from_cache() 116 static void vc4_bo_purgeable(struct vc4_bo *bo) in vc4_bo_purgeable() 127 static bool vc4_bo_unpurgeable(struct vc4_bo *bo) in vc4_bo_unpurgeable() 144 vc4_bo_free(struct vc4_bo *bo) in vc4_bo_free() 184 struct vc4_bo *iter, *tmp, *bo = NULL; in vc4_bo_from_cache() local 225 struct vc4_bo *bo; in vc4_bo_alloc() local 282 vc4_bo_last_unreference(struct vc4_bo *bo) in vc4_bo_last_unreference() 335 vc4_bo_last_unreference_locked_timed(struct vc4_bo *bo, time_t time) in vc4_bo_last_unreference_locked_timed() 383 struct vc4_bo *bo; in vc4_bo_open_handle() local [all …]
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_bufmgr.c | 81 v3d_bo_remove_from_cache(struct v3d_bo_cache *cache, struct v3d_bo *bo) in v3d_bo_remove_from_cache() 96 struct v3d_bo *bo = NULL; in v3d_bo_from_cache() local 123 struct v3d_bo *bo; in v3d_bo_alloc() local 187 v3d_bo_last_unreference(struct v3d_bo *bo) in v3d_bo_last_unreference() 199 v3d_bo_free(struct v3d_bo *bo) in v3d_bo_free() 275 v3d_bo_last_unreference_locked_timed(struct v3d_bo *bo, time_t time) in v3d_bo_last_unreference_locked_timed() 328 struct v3d_bo *bo; in v3d_bo_open_handle() local 416 v3d_bo_get_dmabuf(struct v3d_bo *bo) in v3d_bo_get_dmabuf() 436 v3d_bo_flink(struct v3d_bo *bo, uint32_t *name) in v3d_bo_flink() 470 v3d_bo_wait(struct v3d_bo *bo, uint64_t timeout_ns, const char *reason) in v3d_bo_wait() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_bufmgr.c | 195 struct crocus_bo *bo = entry ? entry->data : NULL; in find_and_ref_external_bo() local 257 crocus_bo_busy(struct crocus_bo *bo) in crocus_bo_busy() 271 crocus_bo_madvise(struct crocus_bo *bo, int state) in crocus_bo_madvise() 287 struct crocus_bo *bo = calloc(1, sizeof(*bo)); in bo_calloc() local 305 struct crocus_bo *bo = NULL; in alloc_bo_from_cache() local 349 struct crocus_bo *bo = bo_calloc(); in alloc_fresh_bo() local 398 struct crocus_bo *bo; in bo_alloc_internal() local 476 struct crocus_bo *bo; in crocus_bo_create_userptr() local 530 struct crocus_bo *bo; in crocus_bo_gem_create_from_name() local 599 bo_close(struct crocus_bo *bo) in bo_close() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 85 bo_remove_from_cache(struct v3dv_bo_cache *cache, struct v3dv_bo *bo) in bo_remove_from_cache() 103 struct v3dv_bo *bo = NULL; in bo_from_cache() local 129 struct v3dv_bo *bo) in bo_free() 179 v3dv_bo_init(struct v3dv_bo *bo, in v3dv_bo_init() 204 struct v3dv_bo *bo; in v3dv_bo_alloc() local 269 struct v3dv_bo *bo, in v3dv_bo_map_unsynchronized() 303 struct v3dv_bo *bo, in v3dv_bo_wait() 315 v3dv_bo_map(struct v3dv_device *device, struct v3dv_bo *bo, uint32_t size) in v3dv_bo_map() 333 v3dv_bo_unmap(struct v3dv_device *device, struct v3dv_bo *bo) in v3dv_bo_unmap() 453 struct v3dv_bo *bo) in v3dv_bo_free()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_bufmgr.h | 51 struct d3d12_bo *bo; member 64 d3d12_bo_get_base(struct d3d12_bo *bo, uint64_t *offset) in d3d12_bo_get_base() 77 d3d12_bo_get_size(struct d3d12_bo *bo) in d3d12_bo_get_size() 86 d3d12_bo_is_suballocated(struct d3d12_bo *bo) in d3d12_bo_is_suballocated() 108 d3d12_bo_reference(struct d3d12_bo *bo) in d3d12_bo_reference()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.h | 179 zink_bo_get_offset(const struct zink_bo *bo) in zink_bo_get_offset() 185 zink_bo_get_mem(const struct zink_bo *bo) in zink_bo_get_mem() 191 zink_bo_get_size(const struct zink_bo *bo) in zink_bo_get_size() 205 zink_bo_has_unflushed_usage(const struct zink_bo *bo) in zink_bo_has_unflushed_usage() 212 zink_bo_has_usage(const struct zink_bo *bo) in zink_bo_has_usage() 219 zink_bo_usage_matches(const struct zink_bo *bo, const struct zink_batch_state *bs) in zink_bo_usage_matches() 226 zink_bo_usage_check_completion(struct zink_screen *screen, struct zink_bo *bo, enum zink_resource_a… in zink_bo_usage_check_completion() 236 zink_bo_usage_wait(struct zink_context *ctx, struct zink_bo *bo, enum zink_resource_access access) in zink_bo_usage_wait() 245 zink_bo_usage_set(struct zink_bo *bo, struct zink_batch_state *bs, bool write) in zink_bo_usage_set() 254 zink_bo_usage_unset(struct zink_bo *bo, struct zink_batch_state *bs) in zink_bo_usage_unset() [all …]
|
/third_party/mesa3d/src/intel/tools/ |
D | intel_dump_gpu.c | 70 struct bo { struct 75 bool gtt_mapped : 1; argument 77 bool user_mapped : 1; argument 81 bool dirty : 1; argument 84 static struct bo *bos; argument 100 struct bo *bo; in get_bo() local 134 relocate_bo(int fd, struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2, in relocate_bo() 215 struct bo *bo, *batch_bo; in dump_execbuffer2() local 379 struct bo *bo = &bos[handle + fd * MAX_BO_COUNT]; in add_new_bo() local 394 struct bo *bo = get_bo(fd, handle); in remove_bo() local [all …]
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 55 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_wait() local 156 static void amdgpu_bo_remove_fences(struct amdgpu_winsys_bo *bo) in amdgpu_bo_remove_fences() 168 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_destroy() local 230 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_destroy_or_cache() local 251 static bool amdgpu_bo_do_map(struct radeon_winsys *rws, struct amdgpu_winsys_bo *bo, void **cpu) in amdgpu_bo_do_map() 282 struct amdgpu_winsys_bo *bo = (struct amdgpu_winsys_bo*)buf; in amdgpu_bo_map() local 411 struct amdgpu_winsys_bo *bo = (struct amdgpu_winsys_bo*)buf; in amdgpu_bo_unmap() local 442 static void amdgpu_add_buffer_to_global_list(struct amdgpu_winsys *ws, struct amdgpu_winsys_bo *bo) in amdgpu_add_buffer_to_global_list() 482 struct amdgpu_winsys_bo *bo; in amdgpu_create_bo() local 627 struct amdgpu_winsys_bo *bo = container_of(entry, struct amdgpu_winsys_bo, u.slab.entry); in amdgpu_bo_can_reclaim_slab() local [all …]
|