]> Git Repo - linux.git/commitdiff
drm: Disable the unused connectors explicitly when resuming with KMS.
authorZhao Yakui <[email protected]>
Wed, 8 Jul 2009 06:13:13 +0000 (14:13 +0800)
committerEric Anholt <[email protected]>
Fri, 10 Jul 2009 19:39:51 +0000 (12:39 -0700)
Signed-off-by: Zhao Yakui <[email protected]>
Acked-by: Jesse Barnes <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
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);
This page took 0.054972 seconds and 4 git commands to generate.