From: Albert Damen Date: Sun, 20 Jun 2010 14:57:57 +0000 (+0200) Subject: drm/nouveau: set encoder for lvds X-Git-Tag: v2.6.36-rc3~9^2~78^2~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3195c5f9784aa8ec27a7bb19a6840dc67e9e90f1;p=platform%2Fkernel%2Flinux-3.10.git drm/nouveau: set encoder for lvds fixes oops in nouveau_connector_get_modes with nv_encoder is NULL Signed-off-by: Albert Damen Signed-off-by: Francisco Jerez Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 7919020..53700f8 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -365,6 +365,7 @@ out: #endif drm_mode_connector_update_edid_property(connector, nv_connector->edid); + nouveau_connector_set_encoder(connector, nv_encoder); return status; }