Home
last modified time | relevance | path

Searched refs:dumb (Results 1 - 6 of 6) sorted by relevance

/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
98 DISPLAY_CHK_RETURN_NOT_VALUE((dumb == NULL), DISPLAY_LOGE("dumb 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()
128 struct drm_mode_create_dumb dumb = {0}; in hdi_gbm_bo_create() local
139 dumb.height = ALIGN_UP(height, HEIGHT_ALIGN); in hdi_gbm_bo_create()
140 dumb.width = ALIGN_UP(AdjustStrideFromFormat(format, width), WIDTH_ALIGN); in hdi_gbm_bo_create()
141 dumb in hdi_gbm_bo_create()
191 struct drm_mode_destroy_dumb dumb = {0}; hdi_gbm_bo_destroy() local
[all...]
/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
88 DISPLAY_CHK_RETURN_NOT_VALUE((dumb == NULL), DISPLAY_LOGE("dumb 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()
118 struct drm_mode_create_dumb dumb = { 0 }; in hdi_gbm_bo_create() local
129 dumb.height = ALIGN_UP(height, HEIGHT_ALIGN); in hdi_gbm_bo_create()
130 dumb.width = ALIGN_UP(AdjustStrideFromFormat(format, width), WIDTH_ALIGN); in hdi_gbm_bo_create()
131 dumb in hdi_gbm_bo_create()
181 struct drm_mode_destroy_dumb dumb = { 0 }; hdi_gbm_bo_destroy() local
[all...]
/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
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 hdi_gbm_bo_create() local
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in hdi_gbm_bo_create()
135 dumb.width = ALIGN_UP(width, WIDTH_ALIGN); in hdi_gbm_bo_create()
136 dumb in hdi_gbm_bo_create()
191 struct drm_mode_destroy_dumb dumb = { 0 }; hdi_gbm_bo_destroy() local
[all...]
/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
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 hdi_gbm_bo_create() local
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in hdi_gbm_bo_create()
135 dumb.width = ALIGN_UP(width, WIDTH_ALIGN); in hdi_gbm_bo_create()
136 dumb in hdi_gbm_bo_create()
191 struct drm_mode_destroy_dumb dumb = { 0 }; hdi_gbm_bo_destroy() local
[all...]
/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
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 hdi_gbm_bo_create() local
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in hdi_gbm_bo_create()
135 dumb.width = ALIGN_UP(width, WIDTH_ALIGN); in hdi_gbm_bo_create()
136 dumb in hdi_gbm_bo_create()
191 struct drm_mode_destroy_dumb dumb = { 0 }; hdi_gbm_bo_destroy() local
[all...]
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A Ddrm_allocator.cpp46 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...]

Completed in 3 milliseconds