On Tue, Sep 23, 2025 at 02:23:42PM +0800, Hermes Wu via B4 Relay wrote: > From: Hermes Wu <[email protected]> > > When start link training, interrupt status INT_LINK_TRAIN_FAIL can use to > check link training fail and no need to wait until timeout. > > it6505_irq_link_train_fail() remove from interrupt and no longer used. > > IT6505 HW auto link training which will write DPCD and check training > status automatically. > > In the case that driver set link rate at 2.7G and HW fail to training, > it will change link configuration and try 1.65G. And this will cause > INT_VID_FIFO_ERROR triggered when link clock is changed. > > When video error occurs, video logic is reset and link training restart, > this will cause endless auto link training. > > when start link auto training, disable INT_VID_FIFO_ERROR to avoid loop > and check INT_LINK_TRAIN_FAIL event to abort wait training done. > > Signed-off-by: Hermes Wu <[email protected]> > --- > drivers/gpu/drm/bridge/ite-it6505.c | 38 > ++++++++++++++++++++++++++----------- > 1 file changed, 27 insertions(+), 11 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
