Searched refs:drm_fd (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/minui/ |
D | graphics_drm.cpp | 48 static int drm_fd = -1; variable 50 static void drm_disable_crtc(int drm_fd, drmModeCrtc *crtc) { in drm_disable_crtc() argument 52 drmModeSetCrtc(drm_fd, crtc->crtc_id, in drm_disable_crtc() 61 static void drm_enable_crtc(int drm_fd, drmModeCrtc *crtc, in drm_enable_crtc() argument 65 ret = drmModeSetCrtc(drm_fd, crtc->crtc_id, in drm_enable_crtc() 78 drm_disable_crtc(drm_fd, main_monitor_crtc); in drm_blank() 80 drm_enable_crtc(drm_fd, main_monitor_crtc, in drm_blank() 96 ret = drmModeRmFB(drm_fd, surface->fb_id); in drm_destroy_surface() 105 ret = drmIoctl(drm_fd, DRM_IOCTL_GEM_CLOSE, &gem_close); in drm_destroy_surface() 158 ret = drmIoctl(drm_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in drm_create_surface() [all …]
|