Searched refs:main_monitor_connector (Results 1 – 2 of 2) sorted by relevance
151 &main_monitor_connector->connector_id, in DrmEnableCrtc()244 drmModeConnector* main_monitor_connector = nullptr; in FindMainMonitor() local247 main_monitor_connector = find_used_connector_by_type(fd, resources, kConnectorPriority[i]); in FindMainMonitor()249 } while (!main_monitor_connector && i < arraysize(kConnectorPriority)); in FindMainMonitor()252 if (!main_monitor_connector) { in FindMainMonitor()253 main_monitor_connector = find_first_connected_connector(fd, resources); in FindMainMonitor()257 if (!main_monitor_connector) return nullptr; in FindMainMonitor()260 for (int modes = 0; modes < main_monitor_connector->count_modes; modes++) { in FindMainMonitor()261 if (main_monitor_connector->modes[modes].type & DRM_MODE_TYPE_PREFERRED) { in FindMainMonitor()267 return main_monitor_connector; in FindMainMonitor()[all …]
72 drmModeConnector* main_monitor_connector{ nullptr };