Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1602732

Re: [PATCH v2 2/3] drm/vc4: Add HDMI audio support

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/3] drm/vc4: Add HDMI audio support
Date 2017-03-16 19:20 +0100
Message-ID <tlIae-2ba-17@gated-at.bofh.it> (permalink)
References <tfA5H-2i1-11@gated-at.bofh.it> <tfA5I-2i1-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Eric Anholt <eric@anholt.net> writes:

> The HDMI encoder IP embeds all needed blocks to output audio, with a
> custom DAI called MAI moving audio between the two parts of the HDMI
> core.  This driver now exposes a sound card to let users stream audio
> to their display.
>
> Using the hdmi-codec driver has been considered here, but MAI meant
> having to significantly rework hdmi-codec, and it would have left
> little shared code with the I2S mode anyway.
>
> The encoder requires that the audio be SPDIF-formatted frames only,
> which alsalib will format-convert for us.
>
> This patch is the combined work of Eric Anholt (initial register setup
> with a separate dmaengine driver and using simple-audio-card) and
> Boris Brezillon (moving it all into HDMI, massive debug to get it
> actually working), and which Eric has the permission to release.
>
> v2: Drop "-audio" from sound card name, since that's already implied
>     (suggestion by Boris)

On IRC, Mark Brown disclaimed responsibility for reviewing this code, so
I've merged it to drm-misc-next.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 2/3] drm/vc4: Add HDMI audio support Eric Anholt <eric@anholt.net> - 2017-03-16 19:20 +0100

csiph-web