I noticed that after reconnecting a mini-displayport cable, the sink would not display an image. But if I forced the link to re-train, the image would come back.
Some digging revealed that the DP spec requires retraining after a HPD event if the sink syas the link has gone down. So implement that since it fixes my problem and it's required by spec. Changes in v2: - needs_retain -> needs_retrain - Actually retrain the loop (accidentally removed while rebasing) Sean Anderson (3): drm: zynqmp_dp: Update connector state before AUX transfers drm: zynqmp_dp: Use smp_load/store for status drm: zynqmp_dp: Retrain link after HPD if necessary drivers/gpu/drm/xlnx/zynqmp_dp.c | 44 ++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 17 deletions(-) -- 2.35.1.1320.gc452695387.dirty
