drm fb helper: use drm_helper_connector_dpms to do dpms
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 1 Feb 2012 10:38:24 +0000 (11:38 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2012 09:54:11 +0000 (09:54 +0000)
commit3a8148c514b45672f876c4d7c23ed1f54e7c48e7
treeb70e3529dde1eda680ec4c2c01c80475e56dc987
parent4cae5b84628d5df76247d494e51b89d07e28e6aa
drm fb helper: use drm_helper_connector_dpms to do dpms

drm_fb_helper_on|off currently manually searches for encoders
to turn on/off. Make this simpler by using the helper function.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c