OpenCloudOS-Kernel/drivers/gpu/drm/vc4
Eric Anholt bb7d785688 drm/vc4: Add HDMI audio support
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)

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170227202803.12855-2-eric@anholt.net
2017-03-16 10:33:30 -07:00
..
Kconfig drm/vc4: Add HDMI audio support 2017-03-16 10:33:30 -07:00
Makefile drm/vc4: Add DSI driver 2017-02-01 12:51:23 -08:00
vc4_bo.c drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. 2017-03-02 09:57:23 -08:00
vc4_crtc.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_debugfs.c drm/vc4: Add DSI driver 2017-02-01 12:51:23 -08:00
vc4_dpi.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_drv.c drm/vc4: Add a paragraph at the top of vc4 docs introducing what it is. 2017-02-28 12:51:49 -08:00
vc4_drv.h drm: vc4: use vblank hooks in struct drm_crtc_funcs 2017-02-09 16:12:47 +08:00
vc4_dsi.c drm/vc4: Convert existing documentation to actual kerneldoc. 2017-02-28 12:51:48 -08:00
vc4_gem.c Pointer for Markus's image conversion work. 2017-03-14 15:07:33 +01:00
vc4_hdmi.c drm/vc4: Add HDMI audio support 2017-03-16 10:33:30 -07:00
vc4_hvs.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_irq.c drm/vc4: Convert existing documentation to actual kerneldoc. 2017-02-28 12:51:48 -08:00
vc4_kms.c drm: Rely on mode_config data for fb_helper initialization 2017-02-02 19:12:00 +01:00
vc4_packet.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_plane.c drm/vc4: Don't wait for vblank when updating the cursor 2017-02-28 12:49:40 -08:00
vc4_qpu_defines.h drm/vc4: Fix definition of QPU_R_MS_REV_FLAGS 2016-07-15 15:19:52 -07:00
vc4_regs.h drm/vc4: Add HDMI audio support 2017-03-16 10:33:30 -07:00
vc4_render_cl.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_trace.h drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_v3d.c drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state. 2016-11-04 16:12:35 -07:00
vc4_validate.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_validate_shaders.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00
vc4_vec.c drm/vc4: Extend and edit documentation for output from the RST 2017-02-28 12:51:49 -08:00