]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Try harder during dp pattern 1 link training
authorKeith Packard <keithp@keithp.com>
Wed, 2 Nov 2011 03:00:06 +0000 (20:00 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Nov 2011 04:26:26 +0000 (20:26 -0800)
commit80ba980aed1cc8fce4c0238b41c65727494e1c0d
treea4c49806d9a39cb2f3c1d9dd5eda36e5b380dc5e
parentf46fe5caedc6008dd485276fc33cc59886f90c9a
drm/i915: Try harder during dp pattern 1 link training

Instead of going through the sequence just once, run through the whole
set up to 5 times to see if something can work. This isn't part of the
DP spec, but the BIOS seems to do it, and given that link training
failure is so bad, it seems reasonable to follow suit.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_dp.c