Skip to content

drm/amd/display: Retry link detection when it fails

Timur Kristóf amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/amd/display: Add detect reason to handle_hpd_irq_helperdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+11 -70 replies
2/5drm/amd/display: Use handle_hpd_irq_helper for HPD RXdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+1 -400 replies
3/5drm/amd/display: Always create delayed HPD work queuedrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+6 -61 reply
4/5drm/amd/display: Retry link detection on hotplugdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h+153 -00 replies
5/5drm/amd/display: Retry link detection on resume and bootdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+8 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHarry Wentland
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] drm/amd/display: Retry link detection when it fails

When dc_link_detect_connection_type thinks that a display is connected, but dc_link_detect failed, enqueue delayed work to retry the link detection again.

Useful when eg. HPD pin is high but the display isn't ready and didn't respond to DDC. Typically this may happen when the HPD pins make contact before the DDC pins, or when the display is "slow to wake up" and doesn't respond on DDC.

The first few patches are just a slight refactor to de-duplicate some code and do some cleanup necessary for the retry. This is to avoid adding even more duplicated code.

Timur Kristóf (5):
drm/amd/display: Add detect reason to handle_hpd_irq_helper drm/amd/display: Use handle_hpd_irq_helper for HPD RX drm/amd/display: Always create delayed HPD work queue drm/amd/display: Retry link detection on hotplug drm/amd/display: Retry link detection on resume and boot

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 216 +++++++++++++-----
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |  16 ++
 2 files changed, 179 insertions(+), 53 deletions(-)
Signature · 1 line
2.54.0