if (!count) { /* * There's no EDID data without a connected monitor. Set BMC- * compatible modes in this case. The XGA default resolution * should work well for all BMCs.
*/
count = drm_add_modes_noedid(connector, minfo->max_hdisplay, minfo->max_vdisplay); if (count)
drm_set_preferred_mode(connector, 1024, 768);
}
return count;
}
/* * There's no monitor connected if the DDC did not return an EDID. Still * return 'connected' as there's always a BMC. Incrementing the connector's * epoch counter triggers an update of the related properties.
*/ staticint mgag200_vga_bmc_connector_helper_detect_ctx(struct drm_connector *connector, struct drm_modeset_acquire_ctx *ctx, bool force)
{ enum drm_connector_status old_status, status;
if (connector->edid_blob_ptr)
old_status = connector_status_connected; else
old_status = connector_status_disconnected;
status = drm_connector_helper_detect_from_ddc(connector, ctx, force);
if (status != old_status)
++connector->epoch_counter; return connector_status_connected;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.