]> 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)
commita01aed2d36df2d98b2d2a2a37e5b8462d49a2c81
treea4c49806d9a39cb2f3c1d9dd5eda36e5b380dc5e
parentd08a04294e471591bf1ad1765b1136351bc18d64
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