drm/udl: dpms off the crtc when disabled.
authorDave Airlie <airlied@redhat.com>
Fri, 17 Aug 2012 02:55:48 +0000 (02:55 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 21 Aug 2012 23:27:47 +0000 (09:27 +1000)
This turns off the crtc when its been disabled,
fixes it not turning off properly the whole time.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/udl/udl_modeset.c

index f5dd89e891de0c165541178c2f0c6a7c74964303..9159d48d1dfd570521c43755596466788411beba 100644 (file)
@@ -354,8 +354,7 @@ static int udl_crtc_mode_set(struct drm_crtc *crtc,
 
 static void udl_crtc_disable(struct drm_crtc *crtc)
 {
-
-
+       udl_crtc_dpms(crtc, DRM_MODE_DPMS_OFF);
 }
 
 static void udl_crtc_destroy(struct drm_crtc *crtc)