From: Daniel Vetter Date: Wed, 5 Jun 2013 11:34:03 +0000 (+0200) Subject: drm/i915: fix up pch pll handling in ->mode_set X-Git-Tag: v3.11-rc1~65^2~61^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdbd2316a03f68b25a135a34d1d24f01ddef0c53;p=pandora-kernel.git drm/i915: fix up pch pll handling in ->mode_set We ->mode_set is called we can't just blindly reuse an existing pll since that might be shared with a different, still active pch output. v2: Only update the pll settings when the pch pll is know to be unused, otherwise we can wreak havoc with a running pipe. Which in the case of DP will likely result in a black screen due to loss of link lock. v3: Tighten up the asserts a bit more, especially make sure that the pch pll is still enabled when we try to disable it. This would have caught the bug fixed in this patch. Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed