From: Paulo Zanoni Date: Tue, 29 Jan 2013 18:35:19 +0000 (-0200) Subject: drm/i915: check the power down well on assert_pipe() X-Git-Tag: v3.9-rc1~83^2~36^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=693101618a4beedf1b3d291860aee56c5fe44a1c;p=pandora-kernel.git drm/i915: check the power down well on assert_pipe() If the power well is disabled, we should not try to read its registers, otherwise we'll get "unclaimed register" messages. V2: Don't check whether the power well is enabled or not, just check whether we asked it to be enabled or not: if we asked to disable the power well, don't use the registers on it, even if it's still enabled. V3: Fix bug that breaks all non-Haswell machines. Signed-off-by: Paulo Zanoni Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed