Searched refs:create_arg (Results 1 – 3 of 3) sorted by relevance
123 struct drm_mode_create_dumb create_arg; in drm_fb_create_dumb() local145 memset(&create_arg, 0, sizeof create_arg); in drm_fb_create_dumb()146 create_arg.bpp = fb->format->bpp; in drm_fb_create_dumb()147 create_arg.width = width; in drm_fb_create_dumb()148 create_arg.height = height; in drm_fb_create_dumb()150 ret = drmIoctl(b->drm.fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in drm_fb_create_dumb()156 fb->handles[0] = create_arg.handle; in drm_fb_create_dumb()157 fb->strides[0] = create_arg.pitch; in drm_fb_create_dumb()159 fb->size = create_arg.size; in drm_fb_create_dumb()194 destroy_arg.handle = create_arg.handle; in drm_fb_create_dumb()
1124 struct drm_mode_create_dumb create_arg; in create_dumb() local1143 memset(&create_arg, 0, sizeof(create_arg)); in create_dumb()1144 create_arg.bpp = 32; in create_dumb()1145 create_arg.width = width; in create_dumb()1146 create_arg.height = height; in create_dumb()1148 ret = drmIoctl(dri->base.v0.fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in create_dumb()1155 bo->base.v0.stride = create_arg.pitch; in create_dumb()1157 bo->base.v0.handle.u32 = create_arg.handle; in create_dumb()1158 bo->handle = create_arg.handle; in create_dumb()1159 bo->size = create_arg.size; in create_dumb()[all …]
448 create_arg(const char *name) in create_arg() function803 arg = create_arg(name); in start_element()