Lines Matching refs:connectors
149 dev->connectors = calloc(dev->num_connectors,
151 if (!dev->connectors) {
152 printf("failed to allocate connectors\n");
157 dev->connectors[i].conn = drmModeGetConnector(dev->fd,
158 r->connectors[i]);
159 if (!dev->connectors[i].conn) {
164 props = drmModeObjectGetProperties(dev->fd, r->connectors[i],
171 dev->connectors[i].crtc_id_pid = get_prop_id(dev, props,
174 if (!dev->connectors[i].crtc_id_pid)
357 if (dev->connectors) {
359 if (dev->connectors[i].conn)
360 drmModeFreeConnector(dev->connectors[i].conn);
362 free(dev->connectors);