From: Eugeni Dodonov Date: Wed, 9 May 2012 18:37:18 +0000 (-0300) Subject: drm/i915: handle DDI-related assertions X-Git-Tag: v3.5-rc1~100^2~25^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf507ef7aaeed60b20aca9cf4b5a89060158724b;p=pandora-kernel.git drm/i915: handle DDI-related assertions Prevent bogus asserts on DDI-related paths. Longer explanation from Eugeni by mail: "For the asserts there are 3 paths where we hit them: - in assert_fdi_tx (we don't have the FDI_TX_CTL anymore, backup plan DDI_FUNC_CTL is used instead) - in assert_fdi_tx_pll_enabled (we have the combination of iCLKIP and DDI_FUNC_CTL, plus PORT_CLK_SEL and PIPE_CLK_SEL now to make things work). We could use an assert here indeed - if we configure port to use one clock, and pipe to use another, everything hangs. Right now, we configure all of them in one place only; but yes, when DP code lands it will get more funky. - and in ironlake_fdi_pll_enable. I reuse part of this function (to configure the TU sizes), but as in the 1st case, FDI_TX_CTL is gone so I just ignore it here." Signed-off-by: Eugeni Dodonov [danvet: Pasted Eugeni's explanation into the commit message.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed