drm/i915/display/lspcon: Increase LSPCON mode settle timeout
authorNiko Tsirakis <ntsirakis@google.com>
Mon, 2 Oct 2023 20:47:09 +0000 (20:47 +0000)
committerJani Nikula <jani.nikula@intel.com>
Wed, 4 Oct 2023 15:34:20 +0000 (18:34 +0300)
commitcf37c0979e558213e2a2f87c2c3dfe644a66b210
tree54eecdbf2c88fd211cf515a8031ce045981e82cd
parent14aebb78b994fd307ec26f82f9f8ccea2a12c6a1
drm/i915/display/lspcon: Increase LSPCON mode settle timeout

This is to eliminate all cases of "*ERROR* LSPCON mode hasn't settled",
followed by link training errors. Intel engineers recommended increasing
this timeout and that does resolve the issue.

On some CometLake-based device designs the Parade PS175 takes more than
400ms to settle in PCON mode. 100 reboot trials on one device resulted
in a median settle time of 440ms and a maximum of 444ms. Even after
increasing the timeout to 500ms, 2% of devices still had this error. So
this increases the timeout to 800ms.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/9443
Signed-off-by: Pablo Ceballos <pceballos@google.com>
Signed-off-by: Niko Tsirakis <ntsirakis@google.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231002204709.761089-1-ntsirakis@google.com
drivers/gpu/drm/i915/display/intel_lspcon.c