Searched refs:kms_fd (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/renderonly/ |
D | renderonly.c | 46 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()
|
D | renderonly.h | 63 int kms_fd; member
|
/third_party/mesa3d/src/gallium/winsys/panfrost/drm/ |
D | panfrost_drm_winsys.c | 72 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/ |
D | kmsro_drm_winsys.c | 58 ro->kms_fd = fd; in kmsro_drm_screen_create()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_resource.c | 162 int ret = drmIoctl(dev->ro->kms_fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &args); in panfrost_resource_get_handle()
|