From: Damien Lespiau Date: Mon, 25 Mar 2013 15:16:14 +0000 (+0000) Subject: drm/i915: Warn if a pipe is enabled with a bogus port X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~51^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a42f704b71b252705f34fbe60ea6f4a76f891a78;p=pandora-kernel.git drm/i915: Warn if a pipe is enabled with a bogus port If TRANS_DDI_FUNC_CTL has been wrongly programmed with an incorrect port, we are currently trying to read PORT_CLK_SEL(port) with an uninitialized value. Handle that case by returning PORT_CLK_SEL_NONE and warning about it. v2: Move the warning inside intel_ddi_get_crtc_pll (Paulo Zanoni) Signed-off-by: Damien Lespiau Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed