Home
last modified time | relevance | path

Searched refs:gbm (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/display/buffer/vdi_base/src/
H A Dhi_gbm.cpp116 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in HdiGbmBoCreate() argument
127 DISPLAY_CHK_RETURN((bo == nullptr), nullptr, DISPLAY_LOGE("gbm bo create fialed no memery")); in HdiGbmBoCreate()
131 bo->gbm = gbm; in HdiGbmBoCreate()
138 ret = drmIoctl(gbm->fd, DRM_IOCTL_MODE_CREATE_DUMB, &dumb); in HdiGbmBoCreate()
152 struct gbm_device *gbm = (struct gbm_device *)calloc(1, sizeof(struct gbm_device)); in HdiGbmCreateDevice() local
153 DISPLAY_CHK_RETURN((gbm == nullptr), nullptr, DISPLAY_LOGE("memory calloc failed")); in HdiGbmCreateDevice()
154 gbm->fd = fd; in HdiGbmCreateDevice()
155 return gbm; in HdiGbmCreateDevice()
158 void HdiGbmDeviceDestroy(struct gbm_device *gbm) in HdiGbmDeviceDestroy() argument
[all...]
/drivers/peripheral/display/buffer/vdi_base/include/
H A Dhi_gbm.h88 void HdiGbmDeviceDestroy(struct gbm_device *gbm);
89 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height,
H A Dhi_gbm_internal.h34 struct gbm_device *gbm; member

Completed in 2 milliseconds