Lines Matching refs:ro
41 renderonly_dup(const struct renderonly *ro)
49 memcpy(copy, ro, sizeof(*ro));
56 struct renderonly *ro)
60 if (ro->kms_fd != -1) {
62 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb);
69 struct renderonly *ro,
86 err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb);
104 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC,
115 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb);
125 struct renderonly *ro,
148 err = drmPrimeFDToHandle(ro->kms_fd, fd, &scanout->handle);