/device/soc/rockchip/common/hardware/gpu/include/ |
H A D | gbm.h | 45 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 D | gbm.h | 46 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 D | hi_gbm.h | 24 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 D | hi_gbm.cpp | 90 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 D | hi_gbm_internal.h | 33 struct gbm_bo { struct
|
H A D | display_gralloc_gbm.h | 37 struct gbm_bo *bo;
|
H A D | display_gralloc_gbm.cpp | 263 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 D | hi_gbm.h | 24 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 D | hi_gbm.cpp | 90 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 D | hi_gbm_internal.h | 33 struct gbm_bo { struct
|
H A D | display_gralloc_gbm.h | 37 struct gbm_bo *bo;
|
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/ |
H A D | hi_gbm.h | 24 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 D | hi_gbm.cpp | 90 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 D | hi_gbm_internal.h | 33 struct gbm_bo {
struct
|
H A D | display_gralloc_gbm.h | 37 struct gbm_bo *bo;
|
/device/soc/rockchip/common/hardware/display/src/display_gralloc/ |
H A D | hi_gbm.h | 25 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 D | hi_gbm.c | 96 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 D | hi_gbm_internal.h | 30 struct gbm_bo { struct
|
H A D | display_gralloc_gbm.h | 33 struct gbm_bo *bo;
|
H A D | display_gralloc_gbm.c | 304 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 D | hi_gbm.h | 25 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 D | hi_gbm.c | 86 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 D | hi_gbm_internal.h | 30 struct gbm_bo { struct
|
H A D | display_gralloc_gbm.h | 33 struct gbm_bo *bo;
|
H A D | display_gralloc_gbm.c | 266 static void InitBufferHandle(struct gbm_bo *bo, int fd, const AllocInfo *info, PriBufferHandle *buffer) in InitBufferHandle() 296 struct gbm_bo *bo = in GbmAllocMem()
|