Lines Matching defs:connector
174 struct drm_connector *connector;
180 drm_for_each_connector_iter(connector, &conn_iter) {
182 connector->state;
188 connector->base.id, connector->name);
194 struct intel_connector *connector)
198 if (list_empty(&connector->panel.fixed_modes))
203 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head)
232 static void intel_dp_info(struct seq_file *m, struct intel_connector *connector)
234 struct intel_encoder *intel_encoder = intel_attached_encoder(connector);
236 const struct edid *edid = drm_edid_raw(connector->detect_edid);
240 str_yes_no(connector->base.display_info.has_audio));
247 struct intel_connector *connector)
249 bool has_audio = connector->base.display_info.has_audio;
255 struct intel_connector *connector)
257 bool has_audio = connector->base.display_info.has_audio;
263 struct drm_connector *connector)
265 struct intel_connector *intel_connector = to_intel_connector(connector);
266 const struct drm_connector_state *conn_state = connector->state;
272 connector->base.id, connector->name,
273 drm_get_connector_status_name(connector->status));
275 if (connector->status == connector_status_disconnected)
279 connector->display_info.width_mm,
280 connector->display_info.height_mm);
282 drm_get_subpixel_order_name(connector->display_info.subpixel_order));
283 seq_printf(m, "\tCEA rev: %d\n", connector->display_info.cea_rev);
288 switch (connector->connector_type) {
308 seq_printf(m, "\tmax bpc: %u\n", connector->display_info.bpc);
313 list_for_each_entry(mode, &connector->modes, head)
613 struct drm_connector *connector;
630 drm_for_each_connector_iter(connector, &conn_iter)
631 intel_connector_info(m, connector);
775 struct drm_connector *connector;
779 drm_for_each_connector_iter(connector, &conn_iter) {
780 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort)
783 intel_encoder = intel_attached_encoder(to_intel_connector(connector));
808 struct drm_connector *connector;
825 drm_for_each_connector_iter(connector, &conn_iter) {
828 if (connector->connector_type !=
832 encoder = to_intel_encoder(connector->encoder);
836 if (encoder && connector->status == connector_status_connected) {
863 struct drm_connector *connector;
868 drm_for_each_connector_iter(connector, &conn_iter) {
871 if (connector->connector_type !=
875 encoder = to_intel_encoder(connector->encoder);
879 if (encoder && connector->status == connector_status_connected) {
912 struct drm_connector *connector;
917 drm_for_each_connector_iter(connector, &conn_iter) {
920 if (connector->connector_type !=
924 encoder = to_intel_encoder(connector->encoder);
928 if (encoder && connector->status == connector_status_connected) {
965 struct drm_connector *connector;
970 drm_for_each_connector_iter(connector, &conn_iter) {
973 if (connector->connector_type !=
977 encoder = to_intel_encoder(connector->encoder);
981 if (encoder && connector->status == connector_status_connected) {
1103 struct drm_connector *connector = m->private;
1105 intel_attached_dp(to_intel_connector(connector));
1107 if (connector->status != connector_status_connected)
1125 struct drm_connector *connector = m->private;
1126 struct drm_i915_private *i915 = to_i915(connector->dev);
1127 struct intel_connector *intel_connector = to_intel_connector(connector);
1134 if (!connector->encoder || connector->status != connector_status_connected) {
1139 seq_printf(m, "%s:%d HDCP version: ", connector->name,
1140 connector->base.id);
1152 struct drm_connector *connector = m->private;
1153 struct drm_i915_private *i915 = to_i915(connector->dev);
1157 encoder = intel_attached_encoder(to_intel_connector(connector));
1161 if (connector->status != connector_status_connected)
1174 lpsp_capable = (connector->connector_type == DRM_MODE_CONNECTOR_DSI ||
1175 connector->connector_type == DRM_MODE_CONNECTOR_eDP);
1178 (connector->connector_type == DRM_MODE_CONNECTOR_DSI ||
1179 connector->connector_type == DRM_MODE_CONNECTOR_eDP ||
1180 connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort));
1182 lpsp_capable = connector->connector_type == DRM_MODE_CONNECTOR_eDP;
1192 struct drm_connector *connector = m->private;
1193 struct drm_device *dev = connector->dev;
1214 crtc = connector->state->crtc;
1215 if (connector->status != connector_status_connected || !crtc) {
1230 intel_dp = intel_attached_dp(to_intel_connector(connector));
1262 struct drm_connector *connector =
1264 struct intel_encoder *encoder = intel_attached_encoder(to_intel_connector(connector));
1304 struct drm_connector *connector = m->private;
1305 struct drm_device *dev = connector->dev;
1308 struct intel_encoder *encoder = intel_attached_encoder(to_intel_connector(connector));
1318 crtc = connector->state->crtc;
1319 if (connector->status != connector_status_connected || !crtc) {
1336 struct drm_connector *connector =
1338 struct intel_encoder *encoder = intel_attached_encoder(to_intel_connector(connector));
1370 struct drm_connector *connector = m->private;
1371 struct drm_device *dev = connector->dev;
1374 struct intel_encoder *encoder = intel_attached_encoder(to_intel_connector(connector));
1384 crtc = connector->state->crtc;
1385 if (connector->status != connector_status_connected || !crtc) {
1403 struct drm_connector *connector =
1405 struct intel_encoder *encoder = intel_attached_encoder(to_intel_connector(connector));
1470 * intel_connector_debugfs_add - add i915 specific connector debugfs files
1478 struct drm_connector *connector = &intel_connector->base;
1479 struct dentry *root = connector->debugfs_entry;
1480 struct drm_i915_private *dev_priv = to_i915(connector->dev);
1482 /* The connector must have been registered beforehands. */
1489 if (connector->connector_type == DRM_MODE_CONNECTOR_eDP)
1491 connector, &i915_panel_fops);
1493 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
1494 connector->connector_type == DRM_MODE_CONNECTOR_HDMIA ||
1495 connector->connector_type == DRM_MODE_CONNECTOR_HDMIB) {
1497 connector, &i915_hdcp_sink_capability_fops);
1501 ((connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort &&
1502 !to_intel_connector(connector)->mst_port) ||
1503 connector->connector_type == DRM_MODE_CONNECTOR_eDP)) {
1505 connector, &i915_dsc_fec_support_fops);
1508 connector, &i915_dsc_bpc_fops);
1511 connector, &i915_dsc_output_format_fops);
1514 if (connector->connector_type == DRM_MODE_CONNECTOR_DSI ||
1515 connector->connector_type == DRM_MODE_CONNECTOR_eDP ||
1516 connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
1517 connector->connector_type == DRM_MODE_CONNECTOR_HDMIA ||
1518 connector->connector_type == DRM_MODE_CONNECTOR_HDMIB)
1520 connector, &i915_lpsp_capability_fops);