IT6505 supports HW auto link training which will write DPCD and check
training status automatically. Some DP device can not pass
HW auto link training and must set link training step by step.
when HW auto link training fail, it may trigger video FIFO error,
and link training process will reset to beginning, and never try
step training method.
Modify training method improve compatibility to these DP devices.
Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw>
---
Hermes Wu (3):
drm/bridge: it6505: modify DP link auto training
drm/bridge: it6505: modify DP link training work
drm/bridge: it6505: skip auto training when previous try fail
drivers/gpu/drm/bridge/ite-it6505.c | 106 ++++++++++++++++++++++--------------
1 file changed, 66 insertions(+), 40 deletions(-)
---
base-commit: 938fbb16aba8f7b88e0fdcf56f315a5bbad41aad
change-id: 20250121-fix-link-training-461495494655
Best regards,
--
Hermes Wu <Hermes.wu@ite.com.tw>