]> Git Repo - linux.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915: fix fdi related fifo underruns on hsw
authorDaniel Vetter <[email protected]>
Sat, 28 Nov 2015 10:05:39 +0000 (11:05 +0100)
committerDaniel Vetter <[email protected]>
Tue, 1 Dec 2015 08:20:47 +0000 (09:20 +0100)
commit6b6985169017e554d80a8c2befdadbd81d13c2a2
tree5d017d91188c1887afef996c138bfd6d2f848090
parenta65347ba6a4e07d276377a62b9b76ee64a277197
drm/i915: fix fdi related fifo underruns on hsw

Similar to

commit 37ca8d4ccd9860df0747aa2ea281a3c9c4bf8826
Author: Ville Syrjälä <[email protected]>
Date:   Fri Oct 30 19:20:27 2015 +0200

    drm/i915: Enable PCH FIFO underruns later on ILK/SNB/IVB

we can only enable fifo underrun reporting when using the fdi/lpt
after everything is set up and after a bit of waiting. The waiting
is required, enabling it right after enabling encoders will first trigger
an underrun on the pch and then, 1 frame later, an underrun on the
cpu. Two vblank waits after encoder enabling seems enough to curb it.

And similar to

Author: Ville Syrjälä <[email protected]>
Date:   Fri Nov 20 22:09:18 2015 +0200

    drm/i915: Suppress spurious CPU FIFO underruns on ILK-IVB

we also need to make sure cpu fifo underrun reporting is disabled when
enabling the fdi rx/tx and pch transcoder&port. But somehow this is
only needed when enabling, not also when disabling.

Cc: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91578
Tested-by: Mika Kahola <[email protected]>
Reviewed-by: Mika Kahola <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c
This page took 0.048133 seconds and 4 git commands to generate.