Searched refs:dumb (Results 1 - 2 of 2) sorted by relevance
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/ |
H A D | drm_allocator.cpp | 46 struct drm_mode_create_dumb dumb = {0}; in Allocate() local 48 dumb.width = bufferInfo.widthStride_; in Allocate() 49 dumb.height = bufferInfo.heightStride_; in Allocate() 50 dumb.flags = 0; in Allocate() 51 dumb.bpp = bufferInfo.bitsPerPixel_; in Allocate() 53 ret = drmIoctl(drmFd_, DRM_IOCTL_MODE_CREATE_DUMB, &dumb); in Allocate() 54 DISPLAY_LOGI("fmt 0x%{public}x create dumb width: %{public}d height: %{public}d bpp: %{public}u pitch %{public}d " in Allocate() 56 handle.format, dumb.width, dumb.height, dumb in Allocate() [all...] |
/drivers/peripheral/display/buffer/vdi_base/src/ |
H A D | hi_gbm.cpp | 90 void InitGbmBo(struct gbm_bo *bo, const struct drm_mode_create_dumb *dumb) in InitGbmBo() argument 92 DISPLAY_CHK_RETURN_NOT_VALUE((dumb == nullptr), DISPLAY_LOGE("dumb 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() 122 struct drm_mode_create_dumb dumb = { 0 }; in HdiGbmBoCreate() local 134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in HdiGbmBoCreate() 135 dumb.width = ALIGN_UP(width, WIDTH_ALIGN); in HdiGbmBoCreate() 136 dumb in HdiGbmBoCreate() 191 struct drm_mode_destroy_dumb dumb = { 0 }; HdiGbmBoDestroy() local [all...] |
Completed in 1 milliseconds