Lines Matching defs:connector

68 static struct intel_dp *intel_attached_dp(struct drm_connector *connector)
70 return enc_to_intel_dp(&intel_attached_encoder(connector)->base);
126 intel_dp_mode_valid(struct drm_connector *connector,
129 struct intel_dp *intel_dp = intel_attached_dp(connector);
130 struct intel_connector *intel_connector = to_intel_connector(connector);
2510 intel_dp_get_edid(struct drm_connector *connector, struct i2c_adapter *adapter)
2512 struct intel_connector *intel_connector = to_intel_connector(connector);
2532 return drm_get_edid(connector, adapter);
2536 intel_dp_get_edid_modes(struct drm_connector *connector, struct i2c_adapter *adapter)
2538 struct intel_connector *intel_connector = to_intel_connector(connector);
2546 return intel_connector_update_modes(connector,
2550 return intel_ddc_get_modes(connector, adapter);
2554 intel_dp_detect(struct drm_connector *connector, bool force)
2556 struct intel_dp *intel_dp = intel_attached_dp(connector);
2559 struct drm_device *dev = connector->dev;
2578 edid = intel_dp_get_edid(connector, &intel_dp->adapter);
2590 static int intel_dp_get_modes(struct drm_connector *connector)
2592 struct intel_dp *intel_dp = intel_attached_dp(connector);
2593 struct intel_connector *intel_connector = to_intel_connector(connector);
2594 struct drm_device *dev = connector->dev;
2600 ret = intel_dp_get_edid_modes(connector, &intel_dp->adapter);
2610 drm_mode_probed_add(connector, mode);
2618 intel_dp_detect_audio(struct drm_connector *connector)
2620 struct intel_dp *intel_dp = intel_attached_dp(connector);
2624 edid = intel_dp_get_edid(connector, &intel_dp->adapter);
2634 intel_dp_set_property(struct drm_connector *connector,
2638 struct drm_i915_private *dev_priv = connector->dev->dev_private;
2639 struct intel_connector *intel_connector = to_intel_connector(connector);
2640 struct intel_encoder *intel_encoder = intel_attached_encoder(connector);
2644 ret = drm_object_property_set_value(&connector->base, property, val);
2658 has_audio = intel_dp_detect_audio(connector);
2697 property == connector->dev->mode_config.scaling_mode_property) {
2722 intel_dp_connector_destroy(struct drm_connector *connector)
2724 struct intel_connector *intel_connector = to_intel_connector(connector);
2731 if (connector->connector_type == DRM_MODE_CONNECTOR_eDP)
2734 drm_connector_cleanup(connector);
2828 intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connector)
2830 struct intel_connector *intel_connector = to_intel_connector(connector);
2832 intel_attach_force_audio_property(connector);
2833 intel_attach_broadcast_rgb_property(connector);
2837 drm_mode_create_scaling_mode_property(connector->dev);
2839 &connector->base,
2840 connector->dev->mode_config.scaling_mode_property,
3001 struct drm_connector *connector = &intel_connector->base;
3037 edid = drm_get_edid(connector, &intel_dp->adapter);
3039 if (drm_add_edid_modes(connector, edid)) {
3040 drm_mode_connector_update_edid_property(connector,
3042 drm_edid_to_eld(connector, edid);
3053 list_for_each_entry(scan, struct drm_display_mode, &connector->probed_modes, head) {
3071 intel_panel_setup_backlight(connector);
3080 struct drm_connector *connector = &intel_connector->base;
3122 DRM_DEBUG_KMS("Adding %s connector on port %c\n",
3126 (void) drm_connector_init(dev, connector, &intel_dp_connector_funcs, type);
3127 drm_connector_helper_add(connector, &intel_dp_connector_helper_funcs);
3129 connector->interlace_allowed = true;
3130 connector->doublescan_allowed = 0;
3199 drm_connector_cleanup(connector);
3203 intel_dp_add_properties(intel_dp, connector);