Skip to content
Snippets Groups Projects
Commit af4fcb57 authored by Zhao Yakui's avatar Zhao Yakui Committed by Eric Anholt
Browse files

drm: Disable the unused connectors explicitly when resuming with KMS.


Signed-off-by: default avatarZhao Yakui <yakui.zhao@intel.com>
Acked-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 354ff967
No related branches found
No related tags found
No related merge requests found
......@@ -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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment