]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm: Disable the unused connectors explicitly when resuming with KMS.
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Jul 2009 06:13:13 +0000 (14:13 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 10 Jul 2009 19:39:51 +0000 (12:39 -0700)
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>
drivers/gpu/drm/drm_crtc_helper.c

index a6f73f1e99d9b839e369861c5b24e4f17279b8aa..3da9cfa31848c0eb37b36f66c7b3ed8607962e2d 100644 (file)
@@ -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);