Commit 3195c5f9 authored by Albert Damen's avatar Albert Damen Committed by Ben Skeggs
Browse files

drm/nouveau: set encoder for lvds



fixes oops in nouveau_connector_get_modes with nv_encoder is NULL
Signed-off-by: default avatarAlbert Damen <albrt@gmx.net>
Signed-off-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 3af76454
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment