[PATCH v4 0/3] drm/vc4: hdmi: Add jack detection to HDMI audio driver
From: David Turner
Date: Mon Mar 17 2025 - 13:18:07 EST
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/20250312-vc4_hotplug-v3-0-d75878677de8@xxxxxxxxxxxxxxx
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
Signed-off-by: David Turner <david.turner@xxxxxxxxxxxxxxx>
---
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,
--
David Turner <david.turner@xxxxxxxxxxxxxxx>