From: Daniel Vetter Date: Wed, 25 Jun 2014 19:01:46 +0000 (+0300) Subject: drm/i915: Check hw state in assert_can_disable_lcpll X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~49^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cc3e169a606ab9577a333a2017cb1acf75668e3;p=pandora-kernel.git drm/i915: Check hw state in assert_can_disable_lcpll All the other checks also check hw state, so checking our software refcounts for the plls looks a bit odd. Also this will simplify the conversion over to the shared dpll framework, which itself has massive amounts of checks to make sure that we never leave a display pll enabled when we shouldn't. So after that conversion we should stil have a good enough coverage of asserts for entering pc8/runtime pm on hsw/bdw. Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed