Skip to content

Add audio support for MSM DisplayPort driver

Abhinav Kumar dri-devel linux-arm-msm 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 0 repliesNew
  2. v5 posting 2/20 of 5 patches 0 repliesSuperseded
  3. v5 posting 1/25 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v45 patches0 repliesSuperseded
v35 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v14 patches0 repliesSuperseded

Changes in v6 from the cover letter

- rebase on top of latest patchset of dependency

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/msm/dp: store dp_display in the driver datadrivers/gpu/drm/msm/dp/dp_display.c+16 -100 replies
2/5drm/msm/dp: add audio support for Display Port on MSMdrivers/gpu/drm/msm/Makefile drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c drivers/gpu/drm/msm/dp/dp_audio.c +5 more+935 -10 replies
3/5drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driverdrivers/gpu/drm/msm/dp/dp_audio.c drivers/gpu/drm/msm/dp/dp_display.c drivers/gpu/drm/msm/dp/dp_display.h+55 -10 replies
4/5drm/msm/dp: signal the hotplug disconnect in the event handlerdrivers/gpu/drm/msm/dp/dp_display.c+10 -90 replies
5/5drm/msm/dp: wait for audio notification before disabling clocksdrivers/gpu/drm/msm/dp/dp_audio.c drivers/gpu/drm/msm/dp/dp_display.c drivers/gpu/drm/msm/dp/dp_display.h+70 -50 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH v6 0/5] Add audio support for MSM DisplayPort driver

This series adds audio support for DP on MSM chipsets. It leverages the hdmi-codec interface [1] to communicate between the Display Port driver and the audio subsystem. These changes depend on the series [2] and [3] which add Display Port support to MSM chipsets.

[1] https://patchwork.kernel.org/patch/11047883/
[2] https://patchwork.kernel.org/project/dri-devel/list/?series=339847
[3] https://patchwork.freedesktop.org/patch/390217/?series=79210&rev=8

changes in v2:
- fix up a compilation issue on drm-next branch

changes in v3:
- add support to synchronize DP driver and audio during shutdown

changes in v4:
- rebase on top of latest patchset of dependency

changes in v5:
- rebase on top of latest patchset of dependency
- fix crash when trying to play audio in DP suspend state

changes in v6:
- rebase on top of latest patchset of dependency

Abhinav Kumar (5):
drm/msm/dp: store dp_display in the driver data drm/msm/dp: add audio support for Display Port on MSM drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver drm/msm/dp: signal the hotplug disconnect in the event handler drm/msm/dp: wait for audio notification before disabling clocks

 drivers/gpu/drm/msm/Makefile                |   3 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c |   7 +
 drivers/gpu/drm/msm/dp/dp_audio.c           | 638 ++++++++++++++++++++
 drivers/gpu/drm/msm/dp/dp_audio.h           |  72 +++
 drivers/gpu/drm/msm/dp/dp_catalog.c         | 192 ++++++
 drivers/gpu/drm/msm/dp/dp_catalog.h         |  29 +
 drivers/gpu/drm/msm/dp/dp_display.c         | 139 ++++-
 drivers/gpu/drm/msm/dp/dp_display.h         |  12 +
 8 files changed, 1076 insertions(+), 16 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/dp/dp_audio.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_audio.h
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project