Searched refs:create_arg (Results 1 – 2 of 2) sorted by relevance
1056 struct drm_mode_create_dumb create_arg; in create_dumb() local1075 memset(&create_arg, 0, sizeof(create_arg)); in create_dumb()1076 create_arg.bpp = 32; in create_dumb()1077 create_arg.width = width; in create_dumb()1078 create_arg.height = height; in create_dumb()1080 ret = drmIoctl(dri->base.fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in create_dumb()1087 bo->base.stride = create_arg.pitch; in create_dumb()1089 bo->base.handle.u32 = create_arg.handle; in create_dumb()1090 bo->handle = create_arg.handle; in create_dumb()1091 bo->size = create_arg.size; in create_dumb()[all …]
427 create_arg(const char *name) in create_arg() function722 arg = create_arg(name); in start_element()