Home
last modified time | relevance | path

Searched refs:crtc (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minui/
Dgraphics_drm.cpp137 void MinuiBackendDrm::DrmDisableCrtc(int drm_fd, drmModeCrtc* crtc) { in DrmDisableCrtc() argument
138 if (crtc) { in DrmDisableCrtc()
139 drmModeSetCrtc(drm_fd, crtc->crtc_id, in DrmDisableCrtc()
148 bool MinuiBackendDrm::DrmEnableCrtc(int drm_fd, drmModeCrtc* crtc, in DrmEnableCrtc() argument
150 if (drmModeSetCrtc(drm_fd, crtc->crtc_id, surface->fb_id, 0, 0, // x,y in DrmEnableCrtc()
178 int32_t crtc; in find_crtc_for_connector() local
180 crtc = encoder->crtc_id; in find_crtc_for_connector()
182 return drmModeGetCrtc(fd, crtc); in find_crtc_for_connector()
186 crtc = -1; in find_crtc_for_connector()
193 crtc = resources->crtcs[j]; in find_crtc_for_connector()
[all …]
Dgraphics_drm.h64 void DrmDisableCrtc(int drm_fd, drmModeCrtc* crtc);
65 bool DrmEnableCrtc(int drm_fd, drmModeCrtc* crtc, const std::unique_ptr<GRSurfaceDrm>& surface);