From: Patrik Jakobsson Date: Mon, 15 Apr 2013 20:02:07 +0000 (+0200) Subject: drm/gma500: Check connector status before restoring sdvo X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~42^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dd6a897959aca968c59f0b2bc08c2d855cd553c;p=pandora-kernel.git drm/gma500: Check connector status before restoring sdvo This patch fixes a bug introduced by: commit 749387dc8d8270b279f27a0a794cdf4f4a4aa774 Author: Patrik Jakobsson Date: Sun Apr 7 16:35:50 2013 +0200 drm/gma500: Fix hibernation problems on sdvo encoders The bug is triggered when we do a mode set on a sdvo encoder with all connectors in the disconnected state. A crtc is considered enabled by drm even though all of its connectors are disconnected. Work around this by adding a check in our sdvo restore function. Also remove the unneeded dpms on. Prepare and Commit will take care of that. Signed-off-by: Patrik Jakobsson --- Reading git-diff-tree failed