Lines Matching refs:gbm
27 #include <gbm.h>
69 if (!(usage_hint & AMDGPU_CREATE_PIXMAP_GTT) && info->gbm) {
92 pixmap_buffer->bo.gbm = gbm_bo_create(info->gbm, width, height,
95 if (!pixmap_buffer->bo.gbm) {
103 *new_pitch = gbm_bo_get_stride(pixmap_buffer->bo.gbm);
145 *handle = gbm_bo_get_handle(bo->bo.gbm).u32;
246 handle = gbm_bo_get_handle(bo->bo.gbm).u32;
247 stride = gbm_bo_get_stride(bo->bo.gbm);
248 height = gbm_bo_get_height(bo->bo.gbm);
283 stride = gbm_bo_get_stride(bo->bo.gbm);
284 height = gbm_bo_get_height(bo->bo.gbm);
335 gbm_bo_destroy(buf->bo.gbm);
415 if (info->gbm) {
438 bo->bo.gbm = gbm_bo_import(info->gbm, GBM_BO_IMPORT_FD, &data,
440 if (!bo->bo.gbm) {