From: Daniel Vetter Date: Thu, 11 Oct 2012 16:43:52 +0000 (+0200) Subject: drm/i915/dvo-ch7xxx: fix get_hw_state X-Git-Tag: v3.7-rc2~38^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4afa0ace429624fde392b29d05a803672a41192e;p=pandora-kernel.git drm/i915/dvo-ch7xxx: fix get_hw_state The boot-up state seems to be all-zeros, so it's safer to check for the bits that need to be set when the dvo encoder is in the dpms on state, than checking the bits we set when it's in the off state. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55047 Tested-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed