]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4fccd0462dc570ddc6acbe385fcf27ba46cc22ba
tree3d7af86d6c36d375588f3b982ee05bbd3205a403
parenta480720bcecddd3a1e6caea975ccae3e08e12306
drm/i915: Retry reading the PCH FDI receiver ISR

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>
drivers/gpu/drm/i915/intel_display.c