diff options
author | Dave Airlie <airlied@redhat.com> | 2010-06-01 09:09:06 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-06-01 10:36:02 +1000 |
commit | fbf81762e385d3d45acad057b654d56972acf58c (patch) | |
tree | bc1b9e31e92ca702ea808650fda45443145f6776 /include/drm/drm_crtc_helper.h | |
parent | fc5ea29d72bde1bec230538becf396caad8621b8 (diff) | |
download | talos-obmc-linux-fbf81762e385d3d45acad057b654d56972acf58c.tar.gz talos-obmc-linux-fbf81762e385d3d45acad057b654d56972acf58c.zip |
drm/kms: disable/enable poll around switcheroo on/off
Because we aren't in a suspend state the poll will still run when we have switcherooed a card off.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc_helper.h')
-rw-r--r-- | include/drm/drm_crtc_helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h index dc5873c21e45..1121f7799c6f 100644 --- a/include/drm/drm_crtc_helper.h +++ b/include/drm/drm_crtc_helper.h @@ -130,4 +130,7 @@ extern int drm_helper_resume_force_mode(struct drm_device *dev); extern void drm_kms_helper_poll_init(struct drm_device *dev); extern void drm_kms_helper_poll_fini(struct drm_device *dev); extern void drm_helper_hpd_irq_event(struct drm_device *dev); + +extern void drm_kms_helper_poll_disable(struct drm_device *dev); +extern void drm_kms_helper_poll_enable(struct drm_device *dev); #endif |