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