Skip to content

Commit

Permalink
drm/nouveau: Fallback to analog load detection when the EDID block is…
Browse files Browse the repository at this point in the history
… invalid.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jan 14, 2010
1 parent c8ebe27 commit 0ed3165
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/nouveau/nouveau_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0ed3165

Please sign in to comment.