| /xsrc/external/mit/libdrm/dist/intel/ |
| intel_bufmgr.c | 49 drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, 52 return bufmgr->bo_alloc(bufmgr, name, size, alignment); 56 drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, 59 return bufmgr->bo_alloc_for_render(bufmgr, name, size, alignment); 63 drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr, 70 if (bufmgr->bo_alloc_userptr) 71 return bufmgr->bo_alloc_userptr(bufmgr, name, addr, tiling_mode [all...] |
| intel_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 84 drm_intel_bufmgr *bufmgr; member in struct:_drm_intel_bo 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, 142 void drm_intel_bufmgr_set_debug(drm_intel_bufmgr *bufmgr, int enable_debug); 143 void drm_intel_bufmgr_destroy(drm_intel_bufmgr *bufmgr); 176 drm_intel_bo *drm_intel_bo_gem_create_from_name(drm_intel_bufmgr *bufmgr, 179 void drm_intel_bufmgr_gem_enable_reuse(drm_intel_bufmgr *bufmgr); [all...] |
| intel_bufmgr_priv.h | 31 * Private definitions of Intel-specific bufmgr functions and structures. 50 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, 152 void (*destroy) (drm_intel_bufmgr *bufmgr); 304 * \param bufmgr the associated buffer manager 307 int (*get_pipe_from_crtc_id) (drm_intel_bufmgr *bufmgr, int crtc_id); 318 struct _drm_intel_bufmgr *bufmgr; member in struct:_drm_intel_context
|
| intel_bufmgr_fake.c | 53 if (bufmgr_fake->bufmgr.debug) \ 111 drm_intel_bufmgr bufmgr; member in struct:_bufmgr_fake 245 drm_intel_bufmgr_fake_set_fence_callback(drm_intel_bufmgr *bufmgr, 251 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *) bufmgr; 423 (drm_intel_bufmgr_fake *) bo->bufmgr; 494 (drm_intel_bufmgr_fake *) bo->bufmgr; 522 (drm_intel_bufmgr_fake *) bo->bufmgr; 657 (drm_intel_bufmgr_fake *) bo->bufmgr; 743 (drm_intel_bufmgr_fake *) bo->bufmgr; 756 (drm_intel_bufmgr_fake *) bo->bufmgr; [all...] |
| intel_bufmgr_gem.c | 76 if (bufmgr_gem->bufmgr.debug) \ 107 drm_intel_bufmgr bufmgr; member in struct:_drm_intel_bufmgr_gem 484 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; 573 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; 601 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; 640 ((drm_intel_bufmgr_gem *) bo->bufmgr, 665 drm_intel_gem_bo_alloc_internal(drm_intel_bufmgr *bufmgr, 673 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bufmgr; 779 bo_gem->bo.bufmgr = bufmgr; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_bufmgr.c | 195 * List into the list of bufmgr. 283 bucket_for_size(struct iris_bufmgr *bufmgr, uint64_t size, bool local) 313 int num_buckets = local ? bufmgr->num_local_buckets : bufmgr->num_buckets; 315 bufmgr->local_cache_bucket : bufmgr->cache_bucket; 358 vma_alloc(struct iris_bufmgr *bufmgr, 365 alignment = MAX2(alignment, bufmgr->vma_min_align); 375 util_vma_heap_alloc(&bufmgr->vma_allocator[memzone], size, alignment); 384 vma_free(struct iris_bufmgr *bufmgr, 413 struct iris_bufmgr *bufmgr = bo->bufmgr; local 428 struct iris_bufmgr *bufmgr = bo->bufmgr; local 591 struct iris_bufmgr *bufmgr = priv; local 631 struct iris_bufmgr *bufmgr = priv; local 1227 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1284 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1353 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1383 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1443 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1470 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1531 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1588 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1706 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1729 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1848 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1866 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1894 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1929 struct iris_bufmgr *bufmgr = bo->bufmgr; local 2157 struct iris_bufmgr *bufmgr = (struct iris_bufmgr *)driver_ctx; local 2250 struct iris_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); local 2393 struct iris_bufmgr *bufmgr = NULL; local [all...] |
| iris_fence.h | 41 struct iris_syncobj *iris_create_syncobj(struct iris_bufmgr *bufmgr); 48 bool iris_wait_syncobj(struct iris_bufmgr *bufmgr, 53 iris_syncobj_reference(struct iris_bufmgr *bufmgr, 59 iris_syncobj_destroy(bufmgr, *dst);
|
| iris_bufmgr.h | 157 struct iris_bufmgr *bufmgr; member in struct:iris_bo 282 struct iris_bo *iris_bo_alloc(struct iris_bufmgr *bufmgr, 290 iris_bo_create_userptr(struct iris_bufmgr *bufmgr, const char *name, 347 void iris_bufmgr_unref(struct iris_bufmgr *bufmgr); 441 int iris_bufmgr_get_fd(struct iris_bufmgr *bufmgr); 443 struct iris_bo *iris_bo_gem_create_from_name(struct iris_bufmgr *bufmgr, 447 void* iris_bufmgr_get_aux_map_context(struct iris_bufmgr *bufmgr); 451 uint32_t iris_create_hw_context(struct iris_bufmgr *bufmgr); 452 uint32_t iris_clone_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id); 458 int iris_hw_context_set_priority(struct iris_bufmgr *bufmgr, [all...] |
| iris_border_color.c | 67 struct iris_bufmgr *bufmgr) 73 pool->bo = iris_bo_alloc(bufmgr, "border colors", 86 struct iris_bufmgr *bufmgr = screen->bufmgr; local 93 iris_reset_border_color_pool(pool, bufmgr); 122 iris_reset_border_color_pool(pool, pool->bo->bufmgr);
|
| iris_batch.c | 193 batch->hw_ctx_id = iris_create_hw_context(screen->bufmgr); 196 iris_hw_context_set_priority(screen->bufmgr, batch->hw_ctx_id, priority); 376 struct iris_bufmgr *bufmgr = screen->bufmgr; local 379 batch->bo = iris_bo_alloc(bufmgr, "command buffer", 412 struct iris_bufmgr *bufmgr = screen->bufmgr; local 427 struct iris_syncobj *syncobj = iris_create_syncobj(bufmgr); 429 iris_syncobj_reference(bufmgr, &syncobj, NULL); 447 struct iris_bufmgr *bufmgr = screen->bufmgr local 595 struct iris_bufmgr *bufmgr = screen->bufmgr; local 649 struct iris_bufmgr *bufmgr = batch->screen->bufmgr; local 672 struct iris_bufmgr *bufmgr = screen->bufmgr; local 751 struct iris_bufmgr *bufmgr = batch->screen->bufmgr; local [all...] |
| iris_fence.c | 66 iris_create_syncobj(struct iris_bufmgr *bufmgr) 68 int fd = iris_bufmgr_get_fd(bufmgr); 83 iris_syncobj_destroy(struct iris_bufmgr *bufmgr, struct iris_syncobj *syncobj) 85 int fd = iris_bufmgr_get_fd(bufmgr); 91 iris_syncobj_signal(struct iris_bufmgr *bufmgr, struct iris_syncobj *syncobj) 93 int fd = iris_bufmgr_get_fd(bufmgr); 127 iris_syncobj_reference(batch->screen->bufmgr, store, syncobj); 142 struct iris_bufmgr *bufmgr = screen->bufmgr; local 158 if (iris_wait_syncobj(bufmgr, *syncobj, 0) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_bufmgr.c | 138 * List into the list of bufmgr. 221 bucket_for_size(struct crocus_bufmgr *bufmgr, uint64_t size) 251 return (index < bufmgr->num_buckets) ? 252 &bufmgr->cache_bucket[index] : NULL; 259 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 262 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); 279 intel_ioctl(bo->bufmgr->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); 297 alloc_bo_from_cache(struct crocus_bufmgr *bufmgr, 347 alloc_fresh_bo(struct crocus_bufmgr *bufmgr, uint64_t bo_size 601 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 639 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 703 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 725 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 781 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 804 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 834 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 957 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1119 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1172 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1348 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1363 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1385 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1414 struct crocus_bufmgr *bufmgr = bo->bufmgr; local 1633 struct crocus_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); local 1700 struct crocus_bufmgr *bufmgr = NULL; local [all...] |
| crocus_bufmgr.h | 53 struct crocus_bufmgr *bufmgr; member in struct:crocus_bo 158 struct crocus_bo *crocus_bo_alloc(struct crocus_bufmgr *bufmgr, 172 struct crocus_bo *crocus_bo_alloc_tiled(struct crocus_bufmgr *bufmgr, 178 struct crocus_bo *crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr, 256 void crocus_bufmgr_unref(struct crocus_bufmgr *bufmgr); 308 int crocus_bufmgr_get_fd(struct crocus_bufmgr *bufmgr); 310 struct crocus_bo *crocus_bo_gem_create_from_name(struct crocus_bufmgr *bufmgr, 316 uint32_t crocus_create_hw_context(struct crocus_bufmgr *bufmgr); 317 uint32_t crocus_clone_hw_context(struct crocus_bufmgr *bufmgr, uint32_t ctx_id); 323 int crocus_hw_context_set_priority(struct crocus_bufmgr *bufmgr, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| brw_bufmgr.c | 168 static uint64_t vma_alloc(struct brw_bufmgr *bufmgr, 192 bo_tile_size(struct brw_bufmgr *bufmgr, uint64_t size, uint32_t tiling) 207 bo_tile_pitch(struct brw_bufmgr *bufmgr, uint32_t pitch, uint32_t tiling) 232 bucket_for_size(struct brw_bufmgr *bufmgr, uint64_t size) 262 return (index < bufmgr->num_buckets) ? 263 &bufmgr->cache_bucket[index] : NULL; 278 bucket_vma_alloc(struct brw_bufmgr *bufmgr, 302 uint64_t addr = vma_alloc(bufmgr, memzone, node_size, node_size); 374 get_bucket_allocator(struct brw_bufmgr *bufmgr, uint64_t size) 382 struct bo_cache_bucket *bucket = bucket_for_size(bufmgr, size) 452 struct brw_bufmgr *bufmgr = bo->bufmgr; local 816 struct brw_bufmgr *bufmgr = bo->bufmgr; local 885 struct brw_bufmgr *bufmgr = bo->bufmgr; local 913 struct brw_bufmgr *bufmgr = bo->bufmgr; local 968 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1033 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1098 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1217 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1277 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1334 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1472 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1487 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1511 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1691 struct brw_bufmgr *bufmgr; local [all...] |
| brw_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 98 struct brw_bufmgr *bufmgr; member in struct:brw_bo 208 struct brw_bo *brw_bo_alloc(struct brw_bufmgr *bufmgr, const char *name, 222 struct brw_bo *brw_bo_alloc_tiled(struct brw_bufmgr *bufmgr, 245 struct brw_bo *brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr, 305 void brw_bufmgr_destroy(struct brw_bufmgr *bufmgr); 347 struct brw_bo *brw_bo_gem_create_from_name(struct brw_bufmgr *bufmgr, 350 void brw_bufmgr_enable_reuse(struct brw_bufmgr *bufmgr); 354 uint32_t brw_create_hw_context(struct brw_bufmgr *bufmgr); 356 int brw_hw_context_set_priority(struct brw_bufmgr *bufmgr, [all...] |
| intel_upload.c | 88 upload->bo = brw_bo_alloc(upload->bufmgr, "streamed data", 127 struct brw_bufmgr *bufmgr, 130 upload->bufmgr = bufmgr;
|
| intel_buffer_objects.h | 117 struct brw_bufmgr *bufmgr,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_bufmgr.c | 167 static uint64_t vma_alloc(struct iris_bufmgr *bufmgr, 196 bucket_for_size(struct iris_bufmgr *bufmgr, uint64_t size) 226 return (index < bufmgr->num_buckets) ? 227 &bufmgr->cache_bucket[index] : NULL; 264 vma_alloc(struct iris_bufmgr *bufmgr, 280 util_vma_heap_alloc(&bufmgr->vma_allocator[memzone], size, alignment); 289 vma_free(struct iris_bufmgr *bufmgr, 308 util_vma_heap_free(&bufmgr->vma_allocator[memzone], address, size); 314 struct iris_bufmgr *bufmgr = bo->bufmgr; local 693 struct iris_bufmgr *bufmgr = bo->bufmgr; local 761 struct iris_bufmgr *bufmgr = bo->bufmgr; local 789 struct iris_bufmgr *bufmgr = bo->bufmgr; local 846 struct iris_bufmgr *bufmgr = bo->bufmgr; local 912 struct iris_bufmgr *bufmgr = bo->bufmgr; local 975 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1132 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1182 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1302 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1315 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1339 struct iris_bufmgr *bufmgr = bo->bufmgr; local 1487 struct iris_bufmgr *bufmgr = calloc(1, sizeof(*bufmgr)); local [all...] |
| iris_bufmgr.h | 101 struct iris_bufmgr *bufmgr; member in struct:iris_bo 203 struct iris_bo *iris_bo_alloc(struct iris_bufmgr *bufmgr, 219 struct iris_bo *iris_bo_alloc_tiled(struct iris_bufmgr *bufmgr, 228 iris_bo_create_userptr(struct iris_bufmgr *bufmgr, const char *name, 284 void iris_bufmgr_destroy(struct iris_bufmgr *bufmgr); 326 struct iris_bo *iris_bo_gem_create_from_name(struct iris_bufmgr *bufmgr, 329 void iris_bufmgr_enable_reuse(struct iris_bufmgr *bufmgr); 333 uint32_t iris_create_hw_context(struct iris_bufmgr *bufmgr); 339 int iris_hw_context_set_priority(struct iris_bufmgr *bufmgr, 342 void iris_destroy_hw_context(struct iris_bufmgr *bufmgr, uint32_t ctx_id) [all...] |
| iris_border_color.c | 67 struct iris_bufmgr *bufmgr) 73 pool->bo = iris_bo_alloc(bufmgr, "border colors", 86 struct iris_bufmgr *bufmgr = screen->bufmgr; local 93 iris_reset_border_color_pool(pool, bufmgr); 122 iris_reset_border_color_pool(pool, pool->bo->bufmgr);
|
| iris_screen.h | 73 struct iris_bufmgr *bufmgr; member in struct:iris_screen
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| brw_bufmgr.c | 74 /* Bufmgr is not aware of brw_context. */ 203 static uint64_t vma_alloc(struct brw_bufmgr *bufmgr, 215 bo_tile_size(struct brw_bufmgr *bufmgr, uint64_t size, uint32_t tiling) 230 bo_tile_pitch(struct brw_bufmgr *bufmgr, uint32_t pitch, uint32_t tiling) 255 bucket_for_size(struct brw_bufmgr *bufmgr, uint64_t size) 285 return (index < bufmgr->num_buckets) ? 286 &bufmgr->cache_bucket[index] : NULL; 301 bucket_vma_alloc(struct brw_bufmgr *bufmgr, 325 uint64_t addr = vma_alloc(bufmgr, memzone, node_size, node_size); 397 get_bucket_allocator(struct brw_bufmgr *bufmgr, uint64_t size 475 struct brw_bufmgr *bufmgr = bo->bufmgr; local 852 struct brw_bufmgr *bufmgr = bo->bufmgr; local 923 struct brw_bufmgr *bufmgr = bo->bufmgr; local 959 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1014 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1036 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1066 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1130 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1182 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1301 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1361 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1432 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1570 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1585 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1609 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1636 struct brw_bufmgr *bufmgr = bo->bufmgr; local 1847 struct brw_bufmgr *bufmgr; local 1938 struct brw_bufmgr *bufmgr = NULL; local [all...] |
| brw_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 99 struct brw_bufmgr *bufmgr; member in struct:brw_bo 186 * Hold bufmgr->lock when using this list. 216 struct brw_bo *brw_bo_alloc(struct brw_bufmgr *bufmgr, const char *name, 230 struct brw_bo *brw_bo_alloc_tiled(struct brw_bufmgr *bufmgr, 253 struct brw_bo *brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr, 313 void brw_bufmgr_unref(struct brw_bufmgr *bufmgr); 356 struct brw_bo *brw_bo_gem_create_from_name(struct brw_bufmgr *bufmgr, 362 uint32_t brw_create_hw_context(struct brw_bufmgr *bufmgr); 364 int brw_hw_context_set_priority(struct brw_bufmgr *bufmgr, [all...] |
| brw_upload.c | 87 upload->bo = brw_bo_alloc(upload->bufmgr, "streamed data", 126 struct brw_bufmgr *bufmgr, 129 upload->bufmgr = bufmgr;
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/ |
| i830_batchbuffer.c | 84 /* Match DRM in not using half the range. The fake bufmgr relies on this. */ 111 pI830->batch_bo = dri_bo_alloc(pI830->bufmgr, "batch", 4096, 4096); 113 pI830->batch_bo = dri_bo_alloc(pI830->bufmgr, "batch", 4096 * 4, 4096); 140 intel_bufmgr_fake_set_exec_callback(pI830->bufmgr, 144 intel_bufmgr_fake_set_exec_callback(pI830->bufmgr, 148 intel_bufmgr_fake_set_fence_callback(pI830->bufmgr,
|