Lines Matching refs:ro
41 renderonly_dup(const struct renderonly *ro) in renderonly_dup() argument
49 memcpy(copy, ro, sizeof(*ro)); in renderonly_dup()
56 struct renderonly *ro) in renderonly_scanout_destroy() argument
60 if (ro->kms_fd != -1) { in renderonly_scanout_destroy()
62 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb); in renderonly_scanout_destroy()
69 struct renderonly *ro, in renderonly_create_kms_dumb_buffer_for_resource() argument
86 err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); 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()
115 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb); in renderonly_create_kms_dumb_buffer_for_resource()
125 struct renderonly *ro, in renderonly_create_gpu_import_for_resource() argument
148 err = drmPrimeFDToHandle(ro->kms_fd, fd, &scanout->handle); in renderonly_create_gpu_import_for_resource()