Home
last modified time | relevance | path

Searched refs:msm_bo (Results 1 – 15 of 15) sorted by relevance

/external/libdrm/freedreno/msm/
Dmsm_bo.c31 static int bo_allocate(struct msm_bo *msm_bo) in bo_allocate() argument
33 struct fd_bo *bo = &msm_bo->base; in bo_allocate()
34 if (!msm_bo->offset) { in bo_allocate()
51 msm_bo->offset = req.offset; in bo_allocate()
59 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_bo_offset() local
60 int ret = bo_allocate(msm_bo); in msm_bo_offset()
63 *offset = msm_bo->offset; in msm_bo_offset()
121 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_bo_destroy() local
122 free(msm_bo); in msm_bo_destroy()
159 struct msm_bo *msm_bo; in msm_bo_from_handle() local
[all …]
Dmsm_ringbuffer.c222 struct msm_bo *msm_bo = to_msm_bo(bo); in bo2idx() local
225 if (msm_bo->current_ring_seqno == msm_ring->seqno) { in bo2idx()
226 idx = msm_bo->idx; in bo2idx()
241 msm_bo->current_ring_seqno = msm_ring->seqno; in bo2idx()
242 msm_bo->idx = idx; in bo2idx()
336 struct msm_bo *msm_bo = to_msm_bo(msm_ring->bos[i]); in flush_reset() local
337 if (!msm_bo) in flush_reset()
339 msm_bo->current_ring_seqno = 0; in flush_reset()
340 fd_bo_del(&msm_bo->base); in flush_reset()
563 struct msm_bo *msm_bo = to_msm_bo(r->bo); in msm_ringbuffer_emit_reloc() local
[all …]
Dmsm_priv.h84 struct msm_bo { struct
96 static inline struct msm_bo * to_msm_bo(struct fd_bo *x) in to_msm_bo() argument
98 return (struct msm_bo *)x; in to_msm_bo()
Dmsm_device.c60 dev->bo_size = sizeof(struct msm_bo); in msm_device_new()
/external/mesa3d/src/freedreno/drm/
Dmsm_bo.c29 static int bo_allocate(struct msm_bo *msm_bo) in bo_allocate() argument
31 struct fd_bo *bo = &msm_bo->base; in bo_allocate()
32 if (!msm_bo->offset) { in bo_allocate()
50 msm_bo->offset = req.value; in bo_allocate()
58 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_bo_offset() local
59 int ret = bo_allocate(msm_bo); in msm_bo_offset()
62 *offset = msm_bo->offset; in msm_bo_offset()
143 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_bo_destroy() local
144 free(msm_bo); in msm_bo_destroy()
187 struct msm_bo *msm_bo; in msm_bo_from_handle() local
[all …]
Dmsm_priv.h73 struct msm_bo { struct
78 FD_DEFINE_CAST(fd_bo, msm_bo); argument
Dmsm_device.c58 dev->bo_size = sizeof(struct msm_bo); in msm_device_new()
Dmsm_ringbuffer_sp.c111 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_submit_append_bo() local
118 idx = READ_ONCE(msm_bo->idx); in msm_submit_append_bo()
142 msm_bo->idx = idx; in msm_submit_append_bo()
Dmsm_ringbuffer.c134 struct msm_bo *msm_bo = to_msm_bo(bo); in append_bo() local
141 idx = READ_ONCE(msm_bo->idx); in append_bo()
166 msm_bo->idx = idx; in append_bo()
Dmeson.build30 'msm_bo.c',
/external/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c33 struct msm_bo { struct
38 static struct msm_bo * argument
39 msm_bo(struct shim_bo *bo) in msm_bo() function
41 return (struct msm_bo *)bo; in msm_bo()
71 struct msm_bo *bo = calloc(1, sizeof(*bo)); in msm_ioctl_gem_new()
99 args->value = msm_bo(bo)->offset; in msm_ioctl_gem_info()
/external/libdrm/freedreno/
DAndroid.sources.bp11 "msm/msm_bo.c",
DMakefile.sources8 msm/msm_bo.c \
Dmeson.build27 'msm/msm_bo.c',
/external/mesa3d/src/freedreno/
DMakefile.sources13 drm/msm_bo.c \