From: Zhao Yakui Date: Wed, 8 Jul 2009 06:13:13 +0000 (+0800) Subject: drm: Disable the unused connectors explicitly when resuming with KMS. X-Git-Tag: v3.0~8482^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af4fcb574efa90373b02ae0bb8b54d710c32eeb4;p=platform%2Fkernel%2Flinux-amlogic.git drm: Disable the unused connectors explicitly when resuming with KMS. Signed-off-by: Zhao Yakui Acked-by: Jesse Barnes Acked-by: Dave Airlie Signed-off-by: Eric Anholt --- 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);