Home
last modified time | relevance | path

Searched refs:gbm_bo (Results 1 - 25 of 27) sorted by relevance

12

/device/soc/rockchip/common/hardware/gpu/include/
H A Dgbm.h45 struct gbm_bo;
239 struct gbm_bo *gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags);
241 struct gbm_bo *gbm_bo_create_with_modifiers(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format,
268 struct gbm_bo *bm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, uint32_t usage);
297 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 *b
[all...]
/device/soc/rockchip/rk3568/hardware/gpu/include/
H A Dgbm.h46 struct gbm_bo;
242 struct gbm_bo *gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags);
244 struct gbm_bo *gbm_bo_create_with_modifiers(struct gbm_device *gbm,
275 struct gbm_bo *bm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, uint32_t usage);
304 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 *b
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_gralloc/
H A Dhi_gbm.h24 struct gbm_bo;
89 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height,
91 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 Dhi_gbm.cpp90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo()
116 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create()
121 struct gbm_bo *bo; in hdi_gbm_bo_create()
126 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
128 (void)memset_s(bo, sizeof(struct gbm_bo), 0, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
163 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo) in hdi_gbm_bo_get_stride()
169 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo) in hdi_gbm_bo_get_width()
175 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *b
[all...]
H A Dhi_gbm_internal.h33 struct gbm_bo { struct
H A Ddisplay_gralloc_gbm.h37 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()
293 struct gbm_bo *bo = in GbmAllocMem()
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
H A Dhi_gbm.h24 struct gbm_bo;
89 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height,
91 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 Dhi_gbm.cpp90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo()
116 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create()
121 struct gbm_bo *bo; in hdi_gbm_bo_create()
126 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
128 (void)memset_s(bo, sizeof(struct gbm_bo), 0, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
163 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo) in hdi_gbm_bo_get_stride()
169 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo) in hdi_gbm_bo_get_width()
175 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *b
[all...]
H A Dhi_gbm_internal.h33 struct gbm_bo { struct
H A Ddisplay_gralloc_gbm.h37 struct gbm_bo *bo;
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
H A Dhi_gbm.h24 struct gbm_bo;
89 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height,
91 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 Dhi_gbm.cpp90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo()
116 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create()
121 struct gbm_bo *bo; in hdi_gbm_bo_create()
126 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
128 (void)memset_s(bo, sizeof(struct gbm_bo), 0, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
163 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo) in hdi_gbm_bo_get_stride()
169 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo) in hdi_gbm_bo_get_width()
175 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *b
[all...]
H A Dhi_gbm_internal.h33 struct gbm_bo { struct
H A Ddisplay_gralloc_gbm.h37 struct gbm_bo *bo;
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A Dhi_gbm.h25 struct gbm_bo;
90 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format,
92 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 Dhi_gbm.c96 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo()
122 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create()
127 struct gbm_bo *bo; in hdi_gbm_bo_create()
131 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
133 (void)memset_s(bo, sizeof(struct gbm_bo), 0, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
169 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo) in hdi_gbm_bo_get_stride()
175 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo) in hdi_gbm_bo_get_width()
181 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *b
[all...]
H A Dhi_gbm_internal.h30 struct gbm_bo { struct
H A Ddisplay_gralloc_gbm.h33 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()
334 struct gbm_bo *bo = in GbmAllocMem()
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
H A Dhi_gbm.h25 struct gbm_bo;
90 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height,
92 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 Dhi_gbm.c86 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo()
112 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create()
117 struct gbm_bo *bo; in hdi_gbm_bo_create()
121 bo = (struct gbm_bo *)calloc(1, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
123 (void)memset_s(bo, sizeof(struct gbm_bo), 0, sizeof(struct gbm_bo)); in hdi_gbm_bo_create()
159 uint32_t hdi_gbm_bo_get_stride(struct gbm_bo *bo) in hdi_gbm_bo_get_stride()
165 uint32_t hdi_gbm_bo_get_width(struct gbm_bo *bo) in hdi_gbm_bo_get_width()
171 uint32_t hdi_gbm_bo_get_height(struct gbm_bo *b
[all...]
H A Dhi_gbm_internal.h30 struct gbm_bo { struct
H A Ddisplay_gralloc_gbm.h33 struct gbm_bo *bo;
H A Ddisplay_gralloc_gbm.c266 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle()
296 struct gbm_bo *bo = in GbmAllocMem()

Completed in 10 milliseconds

12