Home
last modified time | relevance | path

Searched refs:bo (Results 1 - 25 of 26) sorted by relevance

12

/device/soc/rockchip/rk3566/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo() argument
93 DISPLAY_CHK_RETURN_NOT_VALUE((bo == nullptr), DISPLAY_LOGE("bo is null")); in InitGbmBo()
94 bo->stride = dumb->pitch; in InitGbmBo()
95 bo->size = dumb->size; in InitGbmBo()
96 bo->handle = dumb->handle; in InitGbmBo()
121 struct gbm_bo *bo; in hdi_gbm_bo_create() local
126 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
127 DISPLAY_CHK_RETURN((bo == nullptr), nullptr, DISPLAY_LOGE("gbm bo creat in hdi_gbm_bo_create()
163 hdi_gbm_bo_get_stride(struct gbm_bo *bo) hdi_gbm_bo_get_stride() argument
169 hdi_gbm_bo_get_width(struct gbm_bo *bo) hdi_gbm_bo_get_width() argument
175 hdi_gbm_bo_get_height(struct gbm_bo *bo) hdi_gbm_bo_get_height() argument
181 hdi_gbm_bo_get_size(struct gbm_bo *bo) hdi_gbm_bo_get_size() argument
187 hdi_gbm_bo_destroy(struct gbm_bo *bo) hdi_gbm_bo_destroy() argument
198 hdi_gbm_bo_get_fd(struct gbm_bo *bo) hdi_gbm_bo_get_fd() argument
[all...]
H A Dhi_gbm.h91 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo);
92 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo);
93 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *bo);
94 uint32_t hdi_gbm_bo_get_size(struct gbm_bo *bo);
95 void hdi_gbm_bo_destroy(struct gbm_bo *bo);
96 int hdi_gbm_bo_get_fd(struct gbm_bo *bo);
H A Ddisplay_gralloc_gbm.cpp263 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle() argument
269 bufferHandle->stride = hdi_gbm_bo_get_stride(bo); in InitBufferHandle()
270 bufferHandle->width = hdi_gbm_bo_get_width(bo); in InitBufferHandle()
271 bufferHandle->height = hdi_gbm_bo_get_height(bo); in InitBufferHandle()
275 bufferHandle->size = hdi_gbm_bo_get_size(bo); in InitBufferHandle()
293 struct gbm_bo *bo = in GbmAllocMem() local
295 DISPLAY_CHK_RETURN((bo == nullptr), HDF_DEV_ERR_NO_MEMORY, DISPLAY_LOGE("gbm create bo failed"); \ in GbmAllocMem()
298 int fd = hdi_gbm_bo_get_fd(bo); in GbmAllocMem()
300 hdi_gbm_bo_destroy(bo); \ in GbmAllocMem()
[all...]
H A Ddisplay_gralloc_gbm.h37 struct gbm_bo *bo; member
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo() argument
93 DISPLAY_CHK_RETURN_NOT_VALUE((bo == nullptr), DISPLAY_LOGE("bo is null")); in InitGbmBo()
94 bo->stride = dumb->pitch; in InitGbmBo()
95 bo->size = dumb->size; in InitGbmBo()
96 bo->handle = dumb->handle; in InitGbmBo()
121 struct gbm_bo *bo; in hdi_gbm_bo_create() local
126 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
127 DISPLAY_CHK_RETURN((bo == nullptr), nullptr, DISPLAY_LOGE("gbm bo creat in hdi_gbm_bo_create()
163 hdi_gbm_bo_get_stride(struct gbm_bo *bo) hdi_gbm_bo_get_stride() argument
169 hdi_gbm_bo_get_width(struct gbm_bo *bo) hdi_gbm_bo_get_width() argument
175 hdi_gbm_bo_get_height(struct gbm_bo *bo) hdi_gbm_bo_get_height() argument
181 hdi_gbm_bo_get_size(struct gbm_bo *bo) hdi_gbm_bo_get_size() argument
187 hdi_gbm_bo_destroy(struct gbm_bo *bo) hdi_gbm_bo_destroy() argument
198 hdi_gbm_bo_get_fd(struct gbm_bo *bo) hdi_gbm_bo_get_fd() argument
[all...]
H A Dhi_gbm.h91 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo);
92 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo);
93 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *bo);
94 uint32_t hdi_gbm_bo_get_size(struct gbm_bo *bo);
95 void hdi_gbm_bo_destroy(struct gbm_bo *bo);
96 int hdi_gbm_bo_get_fd(struct gbm_bo *bo);
H A Ddisplay_gralloc_gbm.cpp263 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle() argument
269 bufferHandle->stride = hdi_gbm_bo_get_stride(bo); in InitBufferHandle()
270 bufferHandle->width = hdi_gbm_bo_get_width(bo); in InitBufferHandle()
271 bufferHandle->height = hdi_gbm_bo_get_height(bo); in InitBufferHandle()
275 bufferHandle->size = hdi_gbm_bo_get_size(bo); in InitBufferHandle()
293 struct gbm_bo *bo = in GbmAllocMem() local
295 DISPLAY_CHK_RETURN((bo == nullptr), HDF_DEV_ERR_NO_MEMORY, DISPLAY_LOGE("gbm create bo failed"); \ in GbmAllocMem()
298 int fd = hdi_gbm_bo_get_fd(bo); in GbmAllocMem()
300 hdi_gbm_bo_destroy(bo); \ in GbmAllocMem()
[all...]
H A Ddisplay_gralloc_gbm.h37 struct gbm_bo *bo; member
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo() argument
93 DISPLAY_CHK_RETURN_NOT_VALUE((bo == nullptr), DISPLAY_LOGE("bo is null")); in InitGbmBo()
94 bo->stride = dumb->pitch; in InitGbmBo()
95 bo->size = dumb->size; in InitGbmBo()
96 bo->handle = dumb->handle; in InitGbmBo()
121 struct gbm_bo *bo; in hdi_gbm_bo_create() local
126 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
127 DISPLAY_CHK_RETURN((bo == nullptr), nullptr, DISPLAY_LOGE("gbm bo creat in hdi_gbm_bo_create()
163 hdi_gbm_bo_get_stride(struct gbm_bo *bo) hdi_gbm_bo_get_stride() argument
169 hdi_gbm_bo_get_width(struct gbm_bo *bo) hdi_gbm_bo_get_width() argument
175 hdi_gbm_bo_get_height(struct gbm_bo *bo) hdi_gbm_bo_get_height() argument
181 hdi_gbm_bo_get_size(struct gbm_bo *bo) hdi_gbm_bo_get_size() argument
187 hdi_gbm_bo_destroy(struct gbm_bo *bo) hdi_gbm_bo_destroy() argument
198 hdi_gbm_bo_get_fd(struct gbm_bo *bo) hdi_gbm_bo_get_fd() argument
[all...]
H A Dhi_gbm.h91 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo);
92 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo);
93 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *bo);
94 uint32_t hdi_gbm_bo_get_size(struct gbm_bo *bo);
95 void hdi_gbm_bo_destroy(struct gbm_bo *bo);
96 int hdi_gbm_bo_get_fd(struct gbm_bo *bo);
H A Ddisplay_gralloc_gbm.cpp263 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle() argument
269 bufferHandle->stride = hdi_gbm_bo_get_stride(bo); in InitBufferHandle()
270 bufferHandle->width = hdi_gbm_bo_get_width(bo); in InitBufferHandle()
271 bufferHandle->height = hdi_gbm_bo_get_height(bo); in InitBufferHandle()
275 bufferHandle->size = hdi_gbm_bo_get_size(bo); in InitBufferHandle()
293 struct gbm_bo *bo = in GbmAllocMem() local
295 DISPLAY_CHK_RETURN((bo == nullptr), HDF_DEV_ERR_NO_MEMORY, DISPLAY_LOGE("gbm create bo failed"); \ in GbmAllocMem()
298 int fd = hdi_gbm_bo_get_fd(bo); in GbmAllocMem()
300 hdi_gbm_bo_destroy(bo); \ in GbmAllocMem()
[all...]
H A Ddisplay_gralloc_gbm.h37 struct gbm_bo *bo; member
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A Dhi_gbm.c96 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo() argument
99 DISPLAY_CHK_RETURN_NOT_VALUE((bo == NULL), DISPLAY_LOGE("bo is null")); in InitGbmBo()
100 bo->stride = dumb->pitch; in InitGbmBo()
101 bo->size = dumb->size; in InitGbmBo()
102 bo->handle = dumb->handle; in InitGbmBo()
127 struct gbm_bo *bo; in hdi_gbm_bo_create() local
131 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
132 DISPLAY_CHK_RETURN((bo == NULL), NULL, DISPLAY_LOGE("gbm bo creat in hdi_gbm_bo_create()
169 hdi_gbm_bo_get_stride(struct gbm_bo *bo) hdi_gbm_bo_get_stride() argument
175 hdi_gbm_bo_get_width(struct gbm_bo *bo) hdi_gbm_bo_get_width() argument
181 hdi_gbm_bo_get_height(struct gbm_bo *bo) hdi_gbm_bo_get_height() argument
187 hdi_gbm_bo_destroy(struct gbm_bo *bo) hdi_gbm_bo_destroy() argument
198 hdi_gbm_bo_get_fd(struct gbm_bo *bo) hdi_gbm_bo_get_fd() argument
[all...]
H A Dhi_gbm.h92 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo);
93 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo);
94 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *bo);
95 void hdi_gbm_bo_destroy(struct gbm_bo *bo);
96 int hdi_gbm_bo_get_fd(struct gbm_bo *bo);
H A Ddisplay_gralloc_gbm.c304 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle() argument
310 bufferHandle->stride = hdi_gbm_bo_get_stride(bo); in InitBufferHandle()
311 bufferHandle->width = hdi_gbm_bo_get_width(bo); in InitBufferHandle()
312 bufferHandle->height = hdi_gbm_bo_get_height(bo); in InitBufferHandle()
316 bufferHandle->size = hdi_gbm_bo_get_stride(bo) * hdi_gbm_bo_get_height(bo); in InitBufferHandle()
334 struct gbm_bo *bo = in GbmAllocMem() local
336 DISPLAY_CHK_RETURN((bo == NULL), DISPLAY_NOMEM, DISPLAY_LOGE("gbm create bo failed"); in GbmAllocMem()
339 int fd = hdi_gbm_bo_get_fd(bo); in GbmAllocMem()
[all...]
H A Ddisplay_gralloc_gbm.h33 struct gbm_bo *bo; member
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
H A Dhi_gbm.c86 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo() argument
89 DISPLAY_CHK_RETURN_NOT_VALUE((bo == NULL), DISPLAY_LOGE("bo is null")); in InitGbmBo()
90 bo->stride = dumb->pitch; in InitGbmBo()
91 bo->size = dumb->size; in InitGbmBo()
92 bo->handle = dumb->handle; in InitGbmBo()
117 struct gbm_bo *bo; in hdi_gbm_bo_create() local
121 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
122 DISPLAY_CHK_RETURN((bo == NULL), NULL, DISPLAY_LOGE("gbm bo creat in hdi_gbm_bo_create()
159 hdi_gbm_bo_get_stride(struct gbm_bo *bo) hdi_gbm_bo_get_stride() argument
165 hdi_gbm_bo_get_width(struct gbm_bo *bo) hdi_gbm_bo_get_width() argument
171 hdi_gbm_bo_get_height(struct gbm_bo *bo) hdi_gbm_bo_get_height() argument
177 hdi_gbm_bo_destroy(struct gbm_bo *bo) hdi_gbm_bo_destroy() argument
188 hdi_gbm_bo_get_fd(struct gbm_bo *bo) hdi_gbm_bo_get_fd() argument
[all...]
H A Dhi_gbm.h92 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo);
93 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo);
94 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *bo);
95 void hdi_gbm_bo_destroy(struct gbm_bo *bo);
96 int hdi_gbm_bo_get_fd(struct gbm_bo *bo);
H A Ddisplay_gralloc_gbm.c36 #define ERRHANDLE(fd, bo, priBuffer) \
39 hdi_gbm_bo_destroy(bo); \
266 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle() argument
272 bufferHandle->stride = hdi_gbm_bo_get_stride(bo); in InitBufferHandle()
273 bufferHandle->width = hdi_gbm_bo_get_width(bo); in InitBufferHandle()
274 bufferHandle->height = hdi_gbm_bo_get_height(bo); in InitBufferHandle()
278 bufferHandle->size = hdi_gbm_bo_get_stride(bo) * hdi_gbm_bo_get_height(bo); in InitBufferHandle()
296 struct gbm_bo *bo = in GbmAllocMem() local
298 DISPLAY_CHK_RETURN((bo in GbmAllocMem()
[all...]
H A Ddisplay_gralloc_gbm.h33 struct gbm_bo *bo; member
/device/soc/rockchip/common/hardware/gpu/include/
H A Dgbm.h297 void *gbm_bo_map(struct gbm_bo *bo, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t flags,
300 void gbm_bo_unmap(struct gbm_bo *bo, void *map_data);
302 uint32_t gbm_bo_get_width(struct gbm_bo *bo);
304 uint32_t gbm_bo_get_height(struct gbm_bo *bo);
306 uint32_t gbm_bo_get_stride(struct gbm_bo *bo);
308 uint32_t gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane);
310 uint32_t gbm_bo_get_format(struct gbm_bo *bo);
312 uint32_t gbm_bo_get_bpp(struct gbm_bo *bo);
314 uint32_t gbm_bo_get_offset(struct gbm_bo *bo, int plane);
316 struct gbm_device *gbm_bo_get_device(struct gbm_bo *bo);
[all...]
/device/soc/rockchip/rk3568/hardware/gpu/include/
H A Dgbm.h304 void *gbm_bo_map(struct gbm_bo *bo,
308 void gbm_bo_unmap(struct gbm_bo *bo, void *map_data);
310 uint32_t gbm_bo_get_width(struct gbm_bo *bo);
312 uint32_t gbm_bo_get_height(struct gbm_bo *bo);
314 uint32_t gbm_bo_get_stride(struct gbm_bo *bo);
316 uint32_t gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane);
318 uint32_t gbm_bo_get_format(struct gbm_bo *bo);
320 uint32_t gbm_bo_get_bpp(struct gbm_bo *bo);
322 uint32_t gbm_bo_get_offset(struct gbm_bo *bo, int plane);
324 struct gbm_device *gbm_bo_get_device(struct gbm_bo *bo);
[all...]
/device/soc/rockchip/common/hardware/rga/include/
H A Ddrmrga.h71 typedef struct bo { struct
/device/soc/rockchip/rk3399/hardware/rga/include/
H A Ddrmrga.h72 typedef struct bo { struct
/device/soc/rockchip/rk3568/hardware/rga/include/
H A Ddrmrga.h72 typedef struct bo { struct

Completed in 10 milliseconds

12