Lines Matching defs:connector
66 /* DPMS state is stored in the connector, which we need in the
68 struct intel_connector *connector;
78 static struct intel_crt *intel_attached_crt(struct intel_connector *connector)
80 return intel_encoder_to_crt(intel_attached_encoder(connector));
345 intel_crt_mode_valid(struct drm_connector *connector,
348 struct drm_device *dev = connector->dev;
466 static bool ilk_crt_detect_hotplug(struct drm_connector *connector)
468 struct drm_device *dev = connector->dev;
469 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector));
516 static bool valleyview_crt_detect_hotplug(struct drm_connector *connector)
518 struct drm_device *dev = connector->dev;
519 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector));
571 static bool intel_crt_detect_hotplug(struct drm_connector *connector)
573 struct drm_device *dev = connector->dev;
580 return ilk_crt_detect_hotplug(connector);
583 return valleyview_crt_detect_hotplug(connector);
619 static const struct drm_edid *intel_crt_get_edid(struct drm_connector *connector,
624 drm_edid = drm_edid_read_ddc(connector, i2c);
627 drm_dbg_kms(connector->dev,
630 drm_edid = drm_edid_read_ddc(connector, i2c);
638 static int intel_crt_ddc_get_modes(struct drm_connector *connector,
644 drm_edid = intel_crt_get_edid(connector, adapter);
648 ret = intel_connector_update_modes(connector, drm_edid);
655 static bool intel_crt_detect_ddc(struct drm_connector *connector)
657 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector));
664 drm_edid = intel_crt_get_edid(connector, i2c);
671 * This may be a DVI-I connector with a shared DDC
829 intel_crt_detect(struct drm_connector *connector,
833 struct drm_i915_private *dev_priv = to_i915(connector->dev);
834 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector));
841 connector->base.id, connector->name,
865 if (intel_crt_detect_hotplug(connector)) {
875 if (intel_crt_detect_ddc(connector)) {
891 status = connector->status;
896 state = intel_load_detect_get_pipe(connector, ctx);
902 if (intel_crt_detect_ddc(connector))
906 to_intel_crtc(connector->state->crtc)->pipe);
911 intel_load_detect_release_pipe(connector, state, ctx);
926 static int intel_crt_get_modes(struct drm_connector *connector)
928 struct drm_device *dev = connector->dev;
930 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector));
940 ret = intel_crt_ddc_get_modes(connector, i2c);
946 ret = intel_crt_ddc_get_modes(connector, i2c);
1000 struct drm_connector *connector;
1040 connector = &intel_connector->base;
1041 crt->connector = intel_connector;
1058 connector->interlace_allowed = true;
1106 drm_connector_helper_add(connector, &intel_crt_connector_helper_funcs);