Home
last modified time | relevance | path

Searched refs:create_dumb (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/renderonly/
Drenderonly.c74 struct drm_mode_create_dumb create_dumb = { in renderonly_create_kms_dumb_buffer_for_resource() local
86 err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in renderonly_create_kms_dumb_buffer_for_resource()
93 scanout->handle = create_dumb.handle; in renderonly_create_kms_dumb_buffer_for_resource()
94 scanout->stride = create_dumb.pitch; in renderonly_create_kms_dumb_buffer_for_resource()
102 out_handle->stride = create_dumb.pitch; in renderonly_create_kms_dumb_buffer_for_resource()
104 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in renderonly_create_kms_dumb_buffer_for_resource()
/external/minigbm/
Dhelpers.c316 struct drm_mode_create_dumb create_dumb = { 0 }; in drv_dumb_bo_create_ex() local
353 create_dumb.bpp = 32; in drv_dumb_bo_create_ex()
355 create_dumb.bpp = layout_from_format(format)->bytes_per_pixel[0] * 8; in drv_dumb_bo_create_ex()
357 create_dumb.width = aligned_width; in drv_dumb_bo_create_ex()
358 create_dumb.height = aligned_height; in drv_dumb_bo_create_ex()
359 create_dumb.flags = 0; in drv_dumb_bo_create_ex()
361 ret = drmIoctl(bo->drv->fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in drv_dumb_bo_create_ex()
367 drv_bo_from_format(bo, create_dumb.pitch, height, format); in drv_dumb_bo_create_ex()
370 bo->handles[plane].u32 = create_dumb.handle; in drv_dumb_bo_create_ex()
372 bo->meta.total_size = create_dumb.size; in drv_dumb_bo_create_ex()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c1600 struct drm_mode_create_dumb create_dumb = { in device_alloc_for_wsi()
1607 err = v3dv_ioctl(display_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in device_alloc_for_wsi()
1613 drmPrimeHandleToFD(display_fd, create_dumb.handle, O_CLOEXEC, &fd); in device_alloc_for_wsi()
1622 mem->bo->dumb_handle = create_dumb.handle; in device_alloc_for_wsi()
1627 device_free_wsi_dumb(display_fd, create_dumb.handle); in device_alloc_for_wsi()
/external/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c1045 create_dumb(struct gbm_device *gbm, in create_dumb() function
1122 return create_dumb(gbm, width, height, format, usage); in gbm_dri_bo_create()