/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_buffer_objects.h | 41 struct radeon_bo *bo; member in struct:radeon_buffer_object
|
/external/libdrm/tests/etnaviv/ |
etnaviv_bo_cache_test.c | 45 struct etna_bo *bo, *tmp; local 47 /* allocate and free some bo's with same size - we must 48 * get the same bo over and over. */ 49 printf("testing bo cache ... "); 51 bo = tmp = etna_bo_new(dev, 0x100, ETNA_BO_UNCACHED); 52 assert(bo); 53 etna_bo_del(bo); 58 assert(tmp == bo); 66 struct etna_bo *bo; local 70 bo = etna_bo_new(dev, 15, ETNA_BO_UNCACHED) [all...] |
/external/libdrm/tests/radeon/ |
radeon_ttm.c | 32 /* allocate as many single page bo to try to starve the kernel 38 struct rbo *bo, *tmp; local 44 bo = rbo(fd, 0, 4096, 0, NULL); 45 if (bo == NULL) { 46 printf("failing after %d bo\n", nbo); 50 list_add(&bo->list, &list); 52 LIST_FOR_EACH_ENTRY_SAFE(bo, tmp, &list, list) { 53 list_del(&bo->list); 54 rbo_decref(bo);
|
rbo.c | 39 struct rbo *bo; local 42 bo = calloc(1, sizeof(*bo)); 43 if (bo == NULL) { 46 list_inithead(&bo->list); 47 bo->fd = fd; 48 bo->size = size; 49 bo->handle = handle; 50 bo->refcount = 1; 51 bo->alignment = alignment [all...] |
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
radv_amdgpu_bo.h | 35 amdgpu_bo_handle bo; member in struct:radv_amdgpu_winsys_bo 48 struct radv_amdgpu_winsys_bo *radv_amdgpu_winsys_bo(struct radeon_winsys_bo *bo) 50 return (struct radv_amdgpu_winsys_bo *)bo;
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_vma.h | 46 struct intel_bo *bo; member in struct:ilo_vma 65 struct intel_bo *bo, uint32_t offset) 69 vma->bo = bo;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen8_sol_state.c | 73 drm_intel_bo *bo = local 75 assert(end <= bo->size); 83 OUT_RELOC64(bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, start);
|
brw_sf_state.c | 137 drm_intel_bo *bo = brw->batch.bo; local 183 sf->sf5.sf_viewport_state_offset = (brw->batch.bo->offset64 + 296 drm_intel_bo_emit_reloc(bo, (brw->sf.state_offset + 298 brw->batch.bo, (brw->sf.vp_offset |
|
intel_pixel_read.c | 85 drm_intel_bo *bo; local 143 bo = irb->mt->bo; 145 if (drm_intel_bo_references(brw->batch.bo, bo)) { 146 perf_debug("Flushing before mapping a referenced bo.\n"); 150 error = brw_bo_map(brw, bo, false /* write enable */, "miptree"); 152 DBG("%s: failed to map bo\n", __func__); 191 bo->virtual + irb->mt->offset, 198 drm_intel_bo_unmap(bo); [all...] |
intel_tex_subimage.c | 87 drm_intel_bo *bo; local 144 bo = image->mt->bo; 146 if (drm_intel_bo_references(brw->batch.bo, bo)) { 147 perf_debug("Flushing before mapping a referenced bo.\n"); 151 error = brw_bo_map(brw, bo, true /* write enable */, "miptree"); 152 if (error || bo->virtual == NULL) { 153 DBG("%s: failed to map bo\n", __func__); 180 bo->virtual [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_bufferobj.h | 32 struct nouveau_bo *bo; member in struct:nouveau_bufferobj 38 (_mesa_is_bufferobj(x) ? to_nouveau_bufferobj(x)->bo : NULL)
|
nouveau_scratch.h | 34 struct nouveau_bo *bo[NOUVEAU_SCRATCH_COUNT]; member in struct:nouveau_scratch_state 43 struct nouveau_bo **bo, unsigned *offset);
|
nouveau_array.h | 39 struct nouveau_bo *bo; member in struct:nouveau_array
|
nouveau_fbo.h | 35 struct nouveau_bo *bo; member in struct:nouveau_framebuffer::__anon30525
|
nouveau_scratch.c | 31 * Returns a pointer to a chunk of 'size' bytes long GART memory. 'bo' 36 struct nouveau_bo **bo, unsigned *offset) 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); 52 nouveau_bo_ref(scratch->bo[scratch->index], bo); 54 nouveau_bo_map(*bo, NOUVEAU_BO_WR, client); 55 buf = scratch->buf = (*bo)->map; 62 NOUVEAU_BO_MAP, 0, size, NULL, bo); local 64 nouveau_bo_map(*bo, NOUVEAU_BO_WR, client) [all...] |
/external/drm_hwcomposer/ |
platformnv.h | 38 int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) override; 39 int ReleaseBuffer(hwc_drm_bo_t *bo) override; 44 hwc_drm_bo_t bo; member in struct:android::NvImporter::NvBuffer 49 void ReleaseBufferImpl(hwc_drm_bo_t *bo);
|
/external/libdrm/etnaviv/ |
etnaviv_bo_cache.c | 34 drm_private void bo_del(struct etna_bo *bo); 64 /* Initialize the linked lists for BO reuse cache. */ 83 struct etna_bo *bo; local 86 bo = LIST_ENTRY(struct etna_bo, bucket->list.next, list); 89 if (time && ((time - bo->free_time) <= 1)) 92 list_del(&bo->list); 93 bo_del(bo); 117 static int is_idle(struct etna_bo *bo) 119 return etna_bo_cpu_prep(bo, 127 struct etna_bo *bo = NULL local 153 struct etna_bo *bo; local [all...] |
/external/libdrm/freedreno/ |
freedreno_bo_cache.c | 37 drm_private void bo_del(struct fd_bo *bo); 74 /* Initialize the linked lists for BO reuse cache. */ 96 struct fd_bo *bo; local 99 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); 102 if (time && ((time - bo->free_time) <= 1)) 105 list_del(&bo->list); 106 bo_del(bo); 130 static int is_idle(struct fd_bo *bo) 132 return fd_bo_cpu_prep(bo, NULL, 140 struct fd_bo *bo = NULL local 168 struct fd_bo *bo = NULL; local [all...] |
/external/libdrm/freedreno/msm/ |
msm_bo.c | 37 struct fd_bo *bo = &msm_bo->base; local 40 .handle = bo->handle, 48 ret = drmCommandWriteRead(bo->dev->fd, DRM_MSM_GEM_INFO, 61 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) 63 struct msm_bo *msm_bo = to_msm_bo(bo); 71 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) 74 .handle = bo->handle, 80 return drmCommandWrite(bo->dev->fd, DRM_MSM_GEM_CPU_PREP, &req, sizeof(req)); 83 static void msm_bo_cpu_fini(struct fd_bo *bo) 86 .handle = bo->handle 151 struct fd_bo *bo; local [all...] |
/external/libdrm/rockchip/ |
rockchip_drm.c | 94 struct rockchip_bo *bo; local 105 bo = calloc(1, sizeof(*bo)); 106 if (!bo) { 107 fprintf(stderr, "failed to create bo[%s].\n", 112 bo->dev = dev; 120 bo->handle = req.handle; 121 bo->size = size; 122 bo->flags = flags; 124 return bo; 135 struct rockchip_bo *bo; local 197 struct rockchip_bo *bo; local [all...] |
/external/libdrm/tests/kmstest/ |
main.c | 44 struct kms_bo *bo; local 53 ret = kms_bo_create(kms, attrs, &bo); 54 CHECK_RET_RETURN(ret, "Could not create bo"); 56 kms_bo_destroy(&bo);
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_query.h | 51 struct intel_bo *bo; member in struct:ilo_query
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_transfer.h | 8 struct nouveau_bo *bo; member in struct:nv50_m2mf_rect
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_pm4.h | 53 /* BO's referenced by this state */ 55 struct r600_resource *bo[SI_PM4_MAX_BO]; member in struct:si_pm4_state 68 struct r600_resource *bo,
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
i915_drm_fence.c | 11 * been idled. If bo is NULL fence has expired. 16 drm_intel_bo *bo; member in struct:i915_drm_fence 21 i915_drm_fence_create(drm_intel_bo *bo) 26 /* bo is null if fence already expired */ 27 if (bo) { 28 drm_intel_bo_reference(bo); 29 fence->bo = bo; 44 if (old->bo) 45 drm_intel_bo_unreference(old->bo); [all...] |