Skip to content

Commit

Permalink
drm/nouveau: set encoder for lvds
Browse files Browse the repository at this point in the history
fixes oops in nouveau_connector_get_modes with nv_encoder is NULL

Signed-off-by: Albert Damen <albrt@gmx.net>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Albert Damen authored and Ben Skeggs committed Jul 13, 2010
1 parent 3af7645 commit 3195c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nouveau_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ nouveau_connector_detect_lvds(struct drm_connector *connector)
#endif

drm_mode_connector_update_edid_property(connector, nv_connector->edid);
nouveau_connector_set_encoder(connector, nv_encoder);
return status;
}

Expand Down

0 comments on commit 3195c5f

Please sign in to comment.