Lines Matching defs:connector
518 static int intel_hpd_irq_event(struct drm_device *dev, struct drm_connector *connector)
523 old_status = connector->status;
525 connector->status = connector->funcs->detect(connector, false);
527 connector->base.id,
528 drm_get_connector_name(connector),
529 old_status, connector->status);
530 return (old_status != connector->status);
546 struct drm_connector *connector;
563 list_for_each_entry(connector, struct drm_connector, &mode_config->connector_list, head) {
564 intel_connector = to_intel_connector(connector);
568 connector->polled == DRM_CONNECTOR_POLL_HPD) {
569 DRM_INFO("HPD interrupt storm detected on connector %s: "
571 drm_get_connector_name(connector));
573 connector->polled = DRM_CONNECTOR_POLL_CONNECT
579 drm_get_connector_name(connector), intel_encoder->hpd_pin);
593 list_for_each_entry(connector, struct drm_connector, &mode_config->connector_list, head) {
594 intel_connector = to_intel_connector(connector);
599 if (intel_hpd_irq_event(dev, connector))
3527 struct drm_connector *connector;
3534 list_for_each_entry(connector, struct drm_connector, &mode_config->connector_list, head) {
3535 struct intel_connector *intel_connector = to_intel_connector(connector);
3538 if (connector->polled != intel_connector->polled)
3539 DRM_DEBUG_DRIVER("Reenabling HPD on connector %s\n",
3540 drm_get_connector_name(connector));
3541 connector->polled = intel_connector->polled;
3542 if (!connector->polled)
3543 connector->polled = DRM_CONNECTOR_POLL_HPD;
3636 struct drm_connector *connector;
3644 list_for_each_entry(connector, struct drm_connector, &mode_config->connector_list, head) {
3645 struct intel_connector *intel_connector = to_intel_connector(connector);
3646 connector->polled = intel_connector->polled;
3647 if (!connector->polled && I915_HAS_HOTPLUG(dev) && intel_connector->encoder->hpd_pin > HPD_NONE)
3648 connector->polled = DRM_CONNECTOR_POLL_HPD;