]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: make IVB FDI training match spec v3
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 19 Aug 2013 18:04:55 +0000 (11:04 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Aug 2013 12:20:53 +0000 (14:20 +0200)
commit3412116b34375055bdda3b7a1afe931b862cfc52
tree9b56f4675d1e4235230f995a0e316b53b3f7ffee
parent8ab7d2a68a656dcf4b0cdd29bdc7186cb5dabd92
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 <jbarnes@virtuousgeek.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51983
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c