]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Send TP1 TP2/3 even when panel claims no NO_TRAIN_ON_EXIT.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 11 Nov 2015 19:37:10 +0000 (11:37 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Nov 2015 15:01:40 +0000 (16:01 +0100)
commitec0d541c336a9f4aba8f97bb17bc689838d3f3a2
tree80fe50f3d0e2b72f876ee0e6ae2dff95ce020e5c
parentbe1521159980ae10d1d633d04809e1ae22c74ffb
drm/i915: Send TP1 TP2/3 even when panel claims no NO_TRAIN_ON_EXIT.

On the commit 1e52d764c11e ("drm/i915: PSR: Fix DP_PSR_NO_TRAIN_ON_EXIT logic")'
we already had identified that DP_PSR_NO_TRAIN_ON_EXIT
doesn't mean we shouldn't send TPS patterns, however we start sending the
minimal TP1 as possible and no TP2.

For most of the panels this is ok, but we found a reported case where
this is not true and panel keeps frozen without updating the screen for a while.

We could just get this case after patch "PSR: Don't Skip aux handshake on
DP_PSR_NO_TRAIN_ON_EXIT." is applied since that one fix the
hard freeze on this kind of panels.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=91436#c19

Cc: Ivan Mitev <ivan.mitev@gmail.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_psr.c