struct drm_mode_map_dumb map = .handle = create.handle ; drmIoctl(fd, DRM_IOCTL_MODE_MAP_DUMB, &map); uint32_t *pixels = mmap(0, create.size, PROT_READ