Skip to content

drm: zynqmp_dp: Retrain link after HPD if necessary

Sean Anderson dri-devel linux-arm-kernel lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Simplify HPD retrain condition

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: zynqmp_dp: Update connector state before AUX transfersdrivers/gpu/drm/xlnx/zynqmp_dp.c+1 -10 replies
2/3drm: zynqmp_dp: Use smp_load/store for statusdrivers/gpu/drm/xlnx/zynqmp_dp.c+3 -30 replies
3/3drm: zynqmp_dp: Retrain link after HPD if necessarydrivers/gpu/drm/xlnx/zynqmp_dp.c+22 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] drm: zynqmp_dp: Retrain link after HPD if necessary

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 v3:
- Simplify HPD retrain condition

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 | 42 +++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 17 deletions(-)
Signature · 1 line
2.35.1.1320.gc452695387.dirty