aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-06-11 17:04:35 -0400
committerDave Airlie <airlied@redhat.com>2010-07-07 04:38:32 -0400
commit5c8d7171cc4984351af802a525675d50ae555a7b (patch)
treeed6337bff7e94fb3d2ef5fe96bd70e8882d6991e /include
parenta907a2e7d287f2b89fd81bc8edf164c0008c624f (diff)
drm/kms: add crtc disable function
More explicit than dpms. Same as the encoder disable function. Need this to explicity disconnect plls from crtcs for reuse when you plls:crtcs ratio isn't 1:1. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_crtc_helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h
index 1121f7799c6f..7e3c9766acba 100644
--- a/include/drm/drm_crtc_helper.h
+++ b/include/drm/drm_crtc_helper.h
@@ -63,6 +63,9 @@ struct drm_crtc_helper_funcs {
63 63
64 /* reload the current crtc LUT */ 64 /* reload the current crtc LUT */
65 void (*load_lut)(struct drm_crtc *crtc); 65 void (*load_lut)(struct drm_crtc *crtc);
66
67 /* disable crtc when not in use - more explicit than dpms off */
68 void (*disable)(struct drm_crtc *crtc);
66}; 69};
67 70
68struct drm_encoder_helper_funcs { 71struct drm_encoder_helper_funcs {