drm: call connector dpms fxn, when setting config
authorRob Clark <rob@ti.com>
Thu, 15 Dec 2011 20:53:24 +0000 (14:53 -0600)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Dec 2011 20:27:25 +0000 (20:27 +0000)
commitc75488376a55c207172f78664d600b87df88107f
treef2eee28c4b4718313c0907d9bd93a17d3643dc1e
parent06e4cd64174b48345cbd99179b780a2bf4f96ab6
drm: call connector dpms fxn, when setting config

Call connector->funcs->dpms(DPMS_ON) rather than just setting
connector->dpms = DPMS_ON.  This ensures that if the connector
has something to do to enable the output (rather than just using
drm_helper_connector_dpms helper directly), that this happens
at bootup.  This solves an issue with connectors not getting
enabled from fbcon_init() when the driver is loaded.

Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c