mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/nouveau: set encoder for lvds
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>
This commit is contained in:
@@ -365,6 +365,7 @@ out:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
drm_mode_connector_update_edid_property(connector, nv_connector->edid);
|
drm_mode_connector_update_edid_property(connector, nv_connector->edid);
|
||||||
|
nouveau_connector_set_encoder(connector, nv_encoder);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user