diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-07-08 06:13:13 (GMT) |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-07-10 19:39:51 (GMT) |
commit | af4fcb574efa90373b02ae0bb8b54d710c32eeb4 (patch) | |
tree | 5b461db2482a266b8b7f6b24008ec9a4c1554b45 /drivers/gpu/drm/drm_crtc_helper.c | |
parent | 354ff96772540d2e836194bf14dd9c05c274055c (diff) | |
download | linux-fsl-qoriq-af4fcb574efa90373b02ae0bb8b54d710c32eeb4.tar.xz |
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/drm/drm_crtc_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 2 |
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); |