Skip to content

drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec

Maxime Ripard alsa-devel dri-devel linux-arm-kernel linux-devicetree linux-doc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 20 repliesIn review
  2. v111 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Added an extra patch to clarify the iec958 controls iface policy
- Added kerneldoc for the new iec958 PCM functions
- s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL
- Used the ALSA prefix where relevant
- Rebased on drm-misc-next-2021-05-17

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ALSA: doc: Clarify IEC958 controls ifaceDocumentation/sound/kernel-api/writing-an-alsa-driver.rst+7 -61 reply
2/12ALSA: iec958: Split status creation and fillinclude/sound/pcm_iec958.h sound/core/pcm_iec958.c+141 -431 reply
3/12ASoC: hdmi-codec: Rework to support more controlssound/soc/codecs/hdmi-codec.c+27 -161 reply
4/12ASoC: hdmi-codec: Add iec958 controlssound/soc/codecs/hdmi-codec.c+64 -23 replies
5/12ASoC: hdmi-codec: Add a prepare hookinclude/sound/hdmi-codec.h sound/soc/codecs/hdmi-codec.c+99 -255 replies
6/12drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SETdrivers/gpu/drm/vc4/vc4_hdmi.c+3 -11 reply
7/12drm/vc4: hdmi: Set HDMI_MAI_FMTdrivers/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_regs.h+78 -01 reply
8/12drm/vc4: hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSEdrivers/gpu/drm/vc4/vc4_hdmi.c+1 -01 reply
9/12drm/vc4: hdmi: Remove firmware logic for MAI threshold settingdrivers/gpu/drm/vc4/vc4_hdmi.c+6 -162 replies
10/12drm/vc4: hdmi: Register HDMI codecdrivers/gpu/drm/vc4/Kconfig drivers/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_hdmi.h+80 -1672 replies
11/12drm/vc4: hdmi: Remove redundant variablesdrivers/gpu/drm/vc4/vc4_hdmi.c drivers/gpu/drm/vc4/vc4_hdmi.h+12 -161 reply
12/12ARM: dts: bcm2711: Tune DMA parameters for HDMI audioarch/arm/boot/dts/bcm2711.dtsi+2 -21 reply

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchTakashi IwaiMark BrownNicolas Saenz Julienne
1/12R-b
2/12R-b
3/12A-b
4/12A-b
5/12A-b
6/12R-b
7/12R-b
8/12R-b
9/12
10/12R-b
11/12R-b
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/12] drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec

Hi,

hdmi-codec allows to have a lot of HDMI-audio related infrastructure in place, it's missing a few controls to be able to provide HBR passthrough. This series adds more infrastructure for the drivers, and leverages it in the vc4 HDMI controller driver.

Thanks!
Maxime

Changes from v1:
- Added an extra patch to clarify the iec958 controls iface policy
- Added kerneldoc for the new iec958 PCM functions
- s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL
- Used the ALSA prefix where relevant
- Rebased on drm-misc-next-2021-05-17

Dom Cobley (5):
drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET drm/vc4: hdmi: Set HDMI_MAI_FMT
drm/vc4: hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE drm/vc4: hdmi: Remove firmware logic for MAI threshold setting
ARM: dts: bcm2711: Tune DMA parameters for HDMI audio

Maxime Ripard (7):
ALSA: doc: Clarify IEC958 controls iface
ALSA: iec958: Split status creation and fill
ASoC: hdmi-codec: Rework to support more controls
ASoC: hdmi-codec: Add iec958 controls
ASoC: hdmi-codec: Add a prepare hook drm/vc4: hdmi: Register HDMI codec drm/vc4: hdmi: Remove redundant variables

 .../kernel-api/writing-an-alsa-driver.rst     |  13 +-
 arch/arm/boot/dts/bcm2711.dtsi                |   4 +-
 drivers/gpu/drm/vc4/Kconfig                   |   1 +
 drivers/gpu/drm/vc4/vc4_hdmi.c                | 322 ++++++++----------
 drivers/gpu/drm/vc4/vc4_hdmi.h                |   5 +-
 drivers/gpu/drm/vc4/vc4_regs.h                |  30 ++
 include/sound/hdmi-codec.h                    |  12 +-
 include/sound/pcm_iec958.h                    |   8 +
 sound/core/pcm_iec958.c                       | 176 +++++++---
 sound/soc/codecs/hdmi-codec.c                 | 219 +++++++++---
 10 files changed, 508 insertions(+), 282 deletions(-)
Signature · 1 line
2.31.1