Home
last modified time | relevance | path

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

/hardware/intel/img/libdrm/tests/modeprint/
Dmodeprint.c142 int printConnector(int fd, drmModeResPtr res, drmModeConnectorPtr connector, uint32_t id) in printConnector() argument
148 printf("Connector: %d-%d\n", connector->connector_type, connector->connector_type_id); in printConnector()
150 printf("\tencoder id : %i\n", connector->encoder_id); in printConnector()
151 printf("\tconn : %s\n", getConnectionText(connector->connection)); in printConnector()
152 printf("\tsize : %ix%i (mm)\n", connector->mmWidth, connector->mmHeight); in printConnector()
153 printf("\tcount_modes : %i\n", connector->count_modes); in printConnector()
154 printf("\tcount_props : %i\n", connector->count_props); in printConnector()
155 if (connector->count_props) { in printConnector()
157 for (i = 0; i < connector->count_props; i++) in printConnector()
158 printf(" %i", connector->props[i]); in printConnector()
[all …]
/hardware/intel/img/libdrm/tests/modetest/
Dmodetest.c157 dump_props(drmModeConnector *connector) in dump_props() argument
162 for (i = 0; i < connector->count_props; i++) { in dump_props()
163 props = drmModeGetProperty(fd, connector->props[i]); in dump_props()
171 drmModeConnector *connector; in dump_connectors() local
177 connector = drmModeGetConnector(fd, resources->connectors[i]); in dump_connectors()
179 if (!connector) { in dump_connectors()
186 connector->connector_id, in dump_connectors()
187 connector->encoder_id, in dump_connectors()
188 connector_status_str(connector->connection), in dump_connectors()
189 connector_type_str(connector->connector_type), in dump_connectors()
[all …]
/hardware/intel/img/hwcomposer/common/base/
DDrm.cpp92 drmModeConnectorPtr connector = NULL; in detect() local
103 connector = drmModeGetConnector(mDrmFd, resources->connectors[i]); in detect()
104 if (!connector) { in detect()
109 if (connector->connector_type != DrmConfig::getDrmConnector(device)) { in detect()
110 drmModeFreeConnector(connector); in detect()
114 if (connector->connection != DRM_MODE_CONNECTED) { in detect()
116 drmModeFreeConnector(connector); in detect()
121 output->connector = connector; in detect()
125 if (connector->encoder_id) { in detect()
127 output->encoder = drmModeGetEncoder(mDrmFd, connector->encoder_id); in detect()
[all …]
DDrm.h87 drmModeConnectorPtr connector; member
/hardware/intel/img/psb_video/src/android/
Dpsb_HDMIExtMode.c135 drmModeConnector *connector = NULL; in psb_HDMIExt_init() local
164 connector = drmModeGetConnector(driver_data->drm_fd, resources->connectors[i]); in psb_HDMIExt_init()
166 if (!connector) { in psb_HDMIExt_init()
172 if (connector->connector_type == DRM_MODE_CONNECTOR_DVID) in psb_HDMIExt_init()
173 psb_HDMIExt_info->hdmi_connector_id = connector->connector_id; in psb_HDMIExt_init()
175 if ((connector->connector_type == DRM_MODE_CONNECTOR_MIPI) && in psb_HDMIExt_init()
177 mipi_connector_id = connector->connector_id; in psb_HDMIExt_init()
178 mipi_encoder_id = connector->encoder_id; in psb_HDMIExt_init()
181 drmModeFreeConnector(connector); in psb_HDMIExt_init()
182 connector = NULL; in psb_HDMIExt_init()
[all …]