From: Jesse Barnes Date: Mon, 19 Aug 2013 18:04:55 +0000 (-0700) Subject: drm/i915: make IVB FDI training match spec v3 X-Git-Tag: v3.12-rc1~136^2~14^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=139ccd3fb12b3d17a773d2d61140f955a47fa470;p=pandora-kernel.git drm/i915: make IVB FDI training match spec v3 The existing code was trying different vswing and preemphasis settings in the wrong place, and wasn't trying them enough. So add a loop to walk through them, properly disabling FDI TX and RX in between if a failure is detected. v2: remove unneeded reg writes, add delays around bit lock checks (Jesse) v3: fix TX and RX disable per spec (Paulo) fix delays per spec (Paulo) make RX symbol lock check match TX bit lock check (Paulo) Signed-off-by: Jesse Barnes Reviewed-by: Paulo Zanoni Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51983 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed