drm/i915: Retry reading the PCH FDI receiver ISR
authorSean Paul <seanpaul@chromium.org>
Fri, 2 Mar 2012 17:53:39 +0000 (12:53 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 2 Mar 2012 18:39:39 +0000 (19:39 +0100)
According to the PRM (Vol3P2), the PCH FDI receiver ISR read for bit lock
should be retried at least once. This patch retries the read 5 times
with a small delay in between reads. I've had reports of display corruption
on resume with "FDI train 1 fail!", so I'm hoping that adding this retry
will mitigate the issue.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found