Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_drm.cpp302 for (int drm_index = 0; drm_index < drmConnectors.size(); drm_index++) { in FindAndSetMonitor() local
303 drm[drm_index].monitor_connector = drmConnectors[drm_index]; in FindAndSetMonitor()
305 drm[drm_index].selected_mode = 0; in FindAndSetMonitor()
306 for (int modes = 0; modes < drmConnectors[drm_index]->count_modes; modes++) { in FindAndSetMonitor()
308 drmConnectors[drm_index]->modes[modes].hdisplay, in FindAndSetMonitor()
309 drmConnectors[drm_index]->modes[modes].vdisplay, in FindAndSetMonitor()
310 drmConnectors[drm_index]->modes[modes].vrefresh); in FindAndSetMonitor()
311 if (drmConnectors[drm_index]->modes[modes].type & DRM_MODE_TYPE_PREFERRED) { in FindAndSetMonitor()
313 drm[drm_index].selected_mode = modes; in FindAndSetMonitor()