Home
last modified time | relevance | path

Searched refs:kms_fd (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/renderonly/
Drenderonly.c46 if (ro->kms_fd != -1) { in renderonly_scanout_destroy()
48 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb); in renderonly_scanout_destroy()
72 err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in renderonly_create_kms_dumb_buffer_for_resource()
90 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in renderonly_create_kms_dumb_buffer_for_resource()
101 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb); in renderonly_create_kms_dumb_buffer_for_resource()
134 err = drmPrimeFDToHandle(ro->kms_fd, fd, &scanout->handle); in renderonly_create_gpu_import_for_resource()
Drenderonly.h78 int kms_fd; member
/third_party/mesa3d/src/gallium/winsys/panfrost/drm/
Dpanfrost_drm_winsys.c72 int err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in panfrost_create_kms_dumb_buffer_for_resource()
93 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in panfrost_create_kms_dumb_buffer_for_resource()
104 drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb); in panfrost_create_kms_dumb_buffer_for_resource()
/third_party/mesa3d/src/gallium/winsys/kmsro/drm/
Dkmsro_drm_winsys.c58 ro->kms_fd = fd; in kmsro_drm_screen_create()