aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-07-08 14:13:13 +0800
committerEric Anholt <eric@anholt.net>2009-07-10 12:39:51 -0700
commitaf4fcb574efa90373b02ae0bb8b54d710c32eeb4 (patch)
tree5b461db2482a266b8b7f6b24008ec9a4c1554b45 /drivers/gpu
parent354ff96772540d2e836194bf14dd9c05c274055c (diff)
downloadkernel_samsung_crespo-af4fcb574efa90373b02ae0bb8b54d710c32eeb4.zip
kernel_samsung_crespo-af4fcb574efa90373b02ae0bb8b54d710c32eeb4.tar.gz
kernel_samsung_crespo-af4fcb574efa90373b02ae0bb8b54d710c32eeb4.tar.bz2
drm: Disable the unused connectors explicitly when resuming with KMS.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Acked-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/drm_crtc_helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c
index a6f73f1..3da9cfa 100644
--- a/drivers/gpu/drm/drm_crtc_helper.c
+++ b/drivers/gpu/drm/drm_crtc_helper.c
@@ -1090,6 +1090,8 @@ int drm_helper_resume_force_mode(struct drm_device *dev)
if (ret == false)
DRM_ERROR("failed to set mode on crtc %p\n", crtc);
}
+ /* disable the unused connectors while restoring the modesetting */
+ drm_helper_disable_unused_functions(dev);
return 0;
}
EXPORT_SYMBOL(drm_helper_resume_force_mode);