summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-08-17 04:55:48 +0200
committerDave Airlie <airlied@redhat.com>2012-08-22 01:27:47 +0200
commitd5c2c20e356ddcb597ee7099dc874bdac774884b (patch)
tree64d9632f8a4921fa77cd69a6fc900fe12765eef7
parentdrm: Remove two unused fields from struct drm_display_mode (diff)
downloadlinux-d5c2c20e356ddcb597ee7099dc874bdac774884b.tar.xz
linux-d5c2c20e356ddcb597ee7099dc874bdac774884b.zip
drm/udl: dpms off the crtc when disabled.
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>
-rw-r--r--drivers/gpu/drm/udl/udl_modeset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
index f5dd89e891de..9159d48d1dfd 100644
--- a/drivers/gpu/drm/udl/udl_modeset.c
+++ b/drivers/gpu/drm/udl/udl_modeset.c
@@ -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)