提交 0ed3165e 编写于 作者: F Francisco Jerez 提交者: Ben Skeggs

drm/nouveau: Fallback to analog load detection when the EDID block is invalid.

Signed-off-by: NFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 c8ebe275
......@@ -252,7 +252,7 @@ nouveau_connector_detect(struct drm_connector *connector)
if (!nv_connector->edid) {
NV_ERROR(dev, "DDC responded, but no EDID for %s\n",
drm_get_connector_name(connector));
return connector_status_disconnected;
goto detect_analog;
}
if (nv_encoder->dcb->type == OUTPUT_DP &&
......@@ -286,6 +286,7 @@ nouveau_connector_detect(struct drm_connector *connector)
return connector_status_connected;
}
detect_analog:
nv_encoder = find_encoder_by_type(connector, OUTPUT_ANALOG);
if (!nv_encoder)
nv_encoder = find_encoder_by_type(connector, OUTPUT_TV);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册