summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-08-17 02:55:48 +0000
committerDave Airlie <airlied@redhat.com>2012-08-22 09:27:47 +1000
commitd5c2c20e356ddcb597ee7099dc874bdac774884b (patch)
tree64d9632f8a4921fa77cd69a6fc900fe12765eef7 /drivers/gpu
parent04ccfe77f132b973659f11954443214659014072 (diff)
downloadop-kernel-dev-d5c2c20e356ddcb597ee7099dc874bdac774884b.zip
op-kernel-dev-d5c2c20e356ddcb597ee7099dc874bdac774884b.tar.gz
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>
Diffstat (limited to 'drivers/gpu')
-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 f5dd89e..9159d48 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)
OpenPOWER on IntegriCloud