Skip to content

drm/vc4: hdmi: Add jack detection to HDMI audio driver

David Turner dri-devel lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20250312-vc4_hotplug-3ae4e783484a

Versions newest first

  1. v4 Latest3 patches 2 repliesIn review
  2. v32 patches 4 repliesSuperseded

Changes in v4 from the cover letter

- Split the update of the comment on drm_atomic_helper_connector_hdmi_hotplug() into a separate patch
- Update the wording of the comment
- Add Reviewed-by tags
- Link to v3:
https://lore.kernel.org/r/[email protected]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/display: Update comment on hdmi hotplug helperdrivers/gpu/drm/display/drm_hdmi_state_helper.c+1 -11 reply
2/3drm/vc4: hdmi: Call HDMI hotplug helper on disconnectdrivers/gpu/drm/vc4/vc4_hdmi.c+2 -20 replies
3/3drm/vc4: hdmi: Add jack detection to HDMI audio driverdrivers/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_hdmi.h+25 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMaxime Ripard
1/3R-b
2/3R-b
3/3R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/3] drm/vc4: hdmi: Add jack detection to HDMI audio driver

This series enables jack detection for HDMI audio on vc4 devices. This means that userspace audio applications can detect when HDMI devices are connected or disconnected, for example to play/pause or switch to another audio device.

Changes in v4:
- Split the update of the comment on drm_atomic_helper_connector_hdmi_hotplug() into a separate patch
- Update the wording of the comment
- Add Reviewed-by tags
- Link to v3:
https://lore.kernel.org/r/[email protected]

Changes in V3:
- Update comment on drm_atomic_helper_connector_hdmi_hotplug() to clarify that it must be called for disconnets too

Changes in V2:
- split initial patch into fix and jack detection feature as suggested by Dmitry

---
David Turner (2):
drm/display: Update comment on hdmi hotplug helper drm/vc4: hdmi: Add jack detection to HDMI audio driver

Stefan Wahren (1):
drm/vc4: hdmi: Call HDMI hotplug helper on disconnect

 drivers/gpu/drm/display/drm_hdmi_state_helper.c |  2 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                  | 22 ++++++++++++++++++++--
 drivers/gpu/drm/vc4/vc4_hdmi.h                  |  7 +++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

---
base-commit: eff0347e7c228335e9ff64aaf02c66957803af6a
change-id: 20250312-vc4_hotplug-3ae4e783484a

Best regards,

Signature · 1 line
David Turner <[email protected]>