Home
last modified time | relevance | path

Searched refs:drm_intel_bo (Results 1 – 25 of 80) sorted by relevance

1234

/external/libdrm/intel/
Dintel_bufmgr.h49 typedef struct _drm_intel_bo drm_intel_bo; typedef
114 drm_intel_bo *drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name,
116 drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr,
120 drm_intel_bo *drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr,
125 drm_intel_bo *drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr,
131 void drm_intel_bo_reference(drm_intel_bo *bo);
132 void drm_intel_bo_unreference(drm_intel_bo *bo);
133 int drm_intel_bo_map(drm_intel_bo *bo, int write_enable);
134 int drm_intel_bo_unmap(drm_intel_bo *bo);
136 int drm_intel_bo_subdata(drm_intel_bo *bo, unsigned long offset,
[all …]
Dintel_bufmgr_priv.h50 drm_intel_bo *(*bo_alloc) (drm_intel_bufmgr *bufmgr, const char *name,
59 drm_intel_bo *(*bo_alloc_for_render) (drm_intel_bufmgr *bufmgr,
70 drm_intel_bo *(*bo_alloc_userptr)(drm_intel_bufmgr *bufmgr,
91 drm_intel_bo *(*bo_alloc_tiled) (drm_intel_bufmgr *bufmgr,
99 void (*bo_reference) (drm_intel_bo *bo);
105 void (*bo_unreference) (drm_intel_bo *bo);
114 int (*bo_map) (drm_intel_bo *bo, int write_enable);
120 int (*bo_unmap) (drm_intel_bo *bo);
128 int (*bo_subdata) (drm_intel_bo *bo, unsigned long offset,
137 int (*bo_get_subdata) (drm_intel_bo *bo, unsigned long offset,
[all …]
Dintel_bufmgr.c48 drm_public drm_intel_bo *
55 drm_public drm_intel_bo *
62 drm_public drm_intel_bo *
76 drm_public drm_intel_bo *
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()
101 drm_intel_bo_map(drm_intel_bo *buf, int write_enable) in drm_intel_bo_map()
107 drm_intel_bo_unmap(drm_intel_bo *buf) in drm_intel_bo_unmap()
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()
[all …]
Dintel_bufmgr_gem.c119 drm_intel_bo **exec_bos;
161 drm_intel_bo *bo;
166 drm_intel_bo bo;
208 drm_intel_bo **softpin_target;
287 drm_intel_gem_estimate_batch_space(drm_intel_bo ** bo_array, int count);
290 drm_intel_gem_compute_batch_space(drm_intel_bo ** bo_array, int count);
293 drm_intel_gem_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode,
297 drm_intel_gem_bo_set_tiling_internal(drm_intel_bo *bo,
301 static void drm_intel_gem_bo_unreference_locked_timed(drm_intel_bo *bo,
304 static void drm_intel_gem_bo_unreference(drm_intel_bo *bo);
[all …]
Dintel_bufmgr_fake.c73 drm_intel_bo *target_buf;
106 drm_intel_bo *bo;
165 int (*exec) (drm_intel_bo *bo, unsigned int used, void *priv);
183 drm_intel_bo bo;
220 void (*invalidate_cb) (drm_intel_bo *bo, void *ptr);
419 alloc_block(drm_intel_bo *bo) in alloc_block()
491 alloc_backing_store(drm_intel_bo *bo) in alloc_backing_store()
507 free_backing_store(drm_intel_bo *bo) in free_backing_store()
519 set_dirty(drm_intel_bo *bo) in set_dirty()
654 evict_and_alloc_block(drm_intel_bo *bo) in evict_and_alloc_block()
[all …]
/external/igt-gpu-tools/lib/stubs/drm/
Dintel_bufmgr.h49 typedef struct _drm_intel_bo drm_intel_bo; typedef
114 drm_intel_bo *drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name,
116 drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr,
120 drm_intel_bo *drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr,
125 drm_intel_bo *drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr,
131 void drm_intel_bo_reference(drm_intel_bo *bo);
132 void drm_intel_bo_unreference(drm_intel_bo *bo);
133 int drm_intel_bo_map(drm_intel_bo *bo, int write_enable);
134 int drm_intel_bo_unmap(drm_intel_bo *bo);
136 int drm_intel_bo_subdata(drm_intel_bo *bo, unsigned long offset,
[all …]
Dintel_bufmgr.c20 void drm_intel_bo_unreference(drm_intel_bo *bo) in drm_intel_bo_unreference()
25 drm_intel_bo *drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc()
32 int drm_intel_bo_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_subdata()
39 int drm_intel_gem_bo_context_exec(drm_intel_bo *bo, drm_intel_context *ctx, in drm_intel_gem_bo_context_exec()
46 int drm_intel_bo_emit_reloc(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc()
47 drm_intel_bo *target_bo, uint32_t target_offset, in drm_intel_bo_emit_reloc()
54 int drm_intel_bo_emit_reloc_fence(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc_fence()
55 drm_intel_bo *target_bo, in drm_intel_bo_emit_reloc_fence()
63 int drm_intel_bo_get_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, in drm_intel_bo_get_tiling()
70 int drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used, in drm_intel_bo_mrb_exec()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_read_read_speed.c52 static drm_intel_bo *rcs_copy_bo(drm_intel_bo *dst, drm_intel_bo *src) in rcs_copy_bo()
68 drm_intel_bo *bo = batch->bo; in rcs_copy_bo()
82 static drm_intel_bo *bcs_copy_bo(drm_intel_bo *dst, drm_intel_bo *src) in bcs_copy_bo()
84 drm_intel_bo *bo = batch->bo; in bcs_copy_bo()
96 set_bo(drm_intel_bo *bo, uint32_t val) in set_bo()
115 static drm_intel_bo *create_bo(drm_intel_bufmgr *bufmgr, in create_bo()
128 drm_intel_bo *src = NULL, *bcs = NULL, *rcs = NULL; in run()
129 drm_intel_bo *bcs_batch, *rcs_batch; in run()
Dgem_ring_sync_copy.c79 drm_intel_bo **srcs;
80 drm_intel_bo **dsts;
106 static drm_intel_bo *bo_create(data_t *data, int width, int height, int val) in bo_create()
108 drm_intel_bo *bo; in bo_create()
122 static void bo_check(data_t *data, drm_intel_bo *bo, uint32_t val) in bo_check()
132 static void scratch_buf_init_from_bo(struct igt_buf *buf, drm_intel_bo *bo) in scratch_buf_init_from_bo()
146 drm_intel_bo *bo; in scratch_buf_init()
208 static void render_copy(data_t *data, drm_intel_bo *src, drm_intel_bo *dst) in render_copy()
234 array_size = NUM_BUSY_BUFFERS * sizeof(drm_intel_bo *); in blitter_busy()
271 static void blitter_copy(data_t *data, drm_intel_bo *src, drm_intel_bo *dst) in blitter_copy()
[all …]
Dgem_concurrent_all.c66 drm_intel_bo *(*create)(drm_intel_bufmgr *, uint64_t size);
81 drm_intel_bo **src, **dst;
82 drm_intel_bo *snoop, *spare;
90 static void blt_copy_bo(struct buffers *b, drm_intel_bo *dst, drm_intel_bo *src);
93 nop_release_bo(drm_intel_bo *bo) in nop_release_bo()
99 prw_set_bo(struct buffers *b, drm_intel_bo *bo, uint32_t val) in prw_set_bo()
107 prw_cmp_bo(struct buffers *b, drm_intel_bo *bo, uint32_t val) in prw_cmp_bo()
120 partial_set_bo(struct buffers *b, drm_intel_bo *bo, uint32_t val) in partial_set_bo()
127 partial_cmp_bo(struct buffers *b, drm_intel_bo *bo, uint32_t val) in partial_cmp_bo()
136 static drm_intel_bo *
[all …]
Dgem_tiled_partial_pwrite_pread.c58 drm_intel_bo *scratch_bo;
59 drm_intel_bo *staging_bo;
60 drm_intel_bo *tiled_staging_bo;
67 copy_bo(drm_intel_bo *src, int src_tiled, in copy_bo()
68 drm_intel_bo *dst, int dst_tiled) in copy_bo()
101 blt_bo_fill(drm_intel_bo *tmp_bo, drm_intel_bo *bo, int val) in blt_bo_fill()
Dgem_pread_after_blit.c60 static drm_intel_bo *
63 drm_intel_bo *bo; in create_bo()
82 verify_large_read(drm_intel_bo *bo, uint32_t val) in verify_large_read()
100 verify_small_read(drm_intel_bo *bo, uint32_t val) in verify_small_read()
134 drm_intel_bo *src[2], in do_test()
136 drm_intel_bo *tmp[2], in do_test()
194 drm_intel_bo *src[2], *dst[2];
Dgem_tiled_blits.c64 static drm_intel_bo *
67 drm_intel_bo *bo, *linear_bo; in create_bo()
93 check_bo(drm_intel_bo *bo, uint32_t val) in check_bo()
95 drm_intel_bo *linear_bo; in check_bo()
122 drm_intel_bo **bo; in run_test()
129 bo = malloc(sizeof(drm_intel_bo *)*count); in run_test()
Dgem_ppgtt.c47 static drm_intel_bo *create_bo(drm_intel_bufmgr *bufmgr, in create_bo()
51 drm_intel_bo *bo; in create_bo()
89 drm_intel_bo **dst, int count, in fork_rcs_copy()
170 drm_intel_bo **dst, int count) in fork_bcs_copy()
188 drm_intel_bo *src[2]; in fork_bcs_copy()
223 static void surfaces_check(drm_intel_bo **bo, int count, uint32_t expected) in surfaces_check()
302 drm_intel_bo *bcs[1], *rcs[N_CHILD];
314 drm_intel_bo *bcs[1], *rcs[N_CHILD];
Dgem_stolen.c73 static void verify_copy_op(drm_intel_bo *src, drm_intel_bo *dest) in verify_copy_op()
100 drm_intel_bo *bo; in stolen_pwrite()
131 drm_intel_bo *bo; in stolen_pread()
166 drm_intel_bo *src, *dest; in copy_test()
190 drm_intel_bo *bo; in verify_object_clear()
226 drm_intel_bo *bo; in stolen_fill_purge_test()
296 drm_intel_bo *bo; in stolen_hibernate()
297 drm_intel_bo *src, *dest; in stolen_hibernate()
Dgem_persistent_relocs.c57 drm_intel_bo *pc_target_bo[NUM_TARGET_BOS];
58 drm_intel_bo *dummy_bo;
59 drm_intel_bo *special_bos[NUM_TARGET_BOS];
69 static drm_intel_bo *create_special_bo(void) in create_special_bo()
71 drm_intel_bo *bo; in create_special_bo()
149 static void faulting_reloc_and_emit(int fd, drm_intel_bo *target_bo, in faulting_reloc_and_emit()
150 void *gtt_relocs, drm_intel_bo *special_bo) in faulting_reloc_and_emit()
Dgem_caching.c54 drm_intel_bo *scratch_bo;
55 drm_intel_bo *staging_bo;
61 copy_bo(drm_intel_bo *src, drm_intel_bo *dst) in copy_bo()
79 blt_bo_fill(drm_intel_bo *tmp_bo, drm_intel_bo *bo, uint8_t val) in blt_bo_fill()
Dgem_partial_pwrite_pread.c55 drm_intel_bo *scratch_bo;
56 drm_intel_bo *staging_bo;
62 copy_bo(drm_intel_bo *src, drm_intel_bo *dst) in copy_bo()
80 blt_bo_fill(drm_intel_bo *tmp_bo, drm_intel_bo *bo, uint8_t val) in blt_bo_fill()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.h43 drm_intel_bo *buffer; /* the low-level buffer manager's buffer handle */
49 drm_intel_bo *range_map_bo[MAP_COUNT];
58 drm_intel_bo *intel_bufferobj_buffer(struct intel_context *intel,
60 drm_intel_bo *intel_bufferobj_source(struct intel_context *intel,
67 drm_intel_bo **return_bo,
Dintel_blit.h54 drm_intel_bo *dst_buffer,
61 drm_intel_bo *dst_bo,
63 drm_intel_bo *src_bo,
/external/igt-gpu-tools/tests/
Dprime_nv_test.c86 drm_intel_bo *test_intel_bo; in test_i915_nv_sharing()
112 drm_intel_bo *test_intel_bo; in test_nv_i915_sharing()
134 drm_intel_bo *test_intel_bo; in test_nv_write_i915_cpu_mmap_read()
165 drm_intel_bo *test_intel_bo; in test_nv_write_i915_gtt_mmap_read()
195 drm_intel_bo *test_intel_bo; in test_i915_import_cpu_mmap()
228 drm_intel_bo *test_intel_bo; in test_i915_import_gtt_mmap()
259 drm_intel_bo *test_intel_bo; in test_i915_import_pread_pwrite()
291 set_bo(drm_intel_bo *bo, uint32_t val, int width, int height) in set_bo()
302 static drm_intel_bo *
305 drm_intel_bo *bo; in create_bo()
[all …]
Dprime_nv_api.c72 drm_intel_bo *test_intel_bo; in test_i915_nv_import_twice()
91 drm_intel_bo *test_intel_bo; in test_i915_nv_import_twice_check_flink_name()
116 drm_intel_bo *test_intel_bo; in test_i915_nv_reimport_twice_check_flink_name()
146 drm_intel_bo *intel_bo = NULL, *intel_bo2 = NULL; in test_nv_i915_import_twice_check_flink_name()
175 drm_intel_bo *intel_bo = NULL, *intel_bo2 = NULL; in test_nv_i915_reimport_twice_check_flink_name()
206 drm_intel_bo *test_intel_bo; in test_i915_nv_import_vs_close()
227 drm_intel_bo *test_intel_bo; in test_i915_nv_double_import()
251 drm_intel_bo *test_intel_bo; in test_i915_nv_double_export()
278 drm_intel_bo *test_intel_bo, *test_intel_bo2; in test_i915_self_import()
316 drm_intel_bo *test_intel_bo, *test_intel_bo2; in test_i915_self_import_to_different_fd()
Ddrm_import_export.c54 drm_intel_bo *bo1, *bo2; in new_buffers()
79 static void test_surfaces(drm_intel_bo *bo_shared) in test_surfaces()
81 drm_intel_bo * bo; in test_surfaces()
112 drm_intel_bo * bo_shared; in start_test()
147 drm_intel_bo *bo; in import_close_thread()
190 drm_intel_bo *bo; in test_import_close_race()
/external/igt-gpu-tools/lib/
Dintel_batchbuffer.h20 drm_intel_bo *bo;
48 drm_intel_bo *buffer,
194 drm_intel_bo *src_bo, int src_x1, int src_y1, int src_pitch,
195 drm_intel_bo *dst_bo, int dst_x1, int dst_y1, int dst_pitch,
198 drm_intel_bo *dst_bo, drm_intel_bo *src_bo,
227 drm_intel_bo *bo;
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_winsys.h37 struct pipe_fence_handle * i915_drm_fence_create(drm_intel_bo *bo);
52 drm_intel_bo *bo;
67 static inline drm_intel_bo *

1234