[alsa-devel] [PATCH 00/12] Add ASoC support for AMD APUs

Alex Deucher alexdeucher at gmail.com
Thu Aug 6 16:25:01 CEST 2015


Hi,

This patch set implements support for i2s audio and new AMD GPUs.
The i2s codec is fed by a DMA engine on the GPU.  To handle this
we create an amd gnb (graphics northbridge) bus which we can hang
the i2s codec on.  Because of this, this patch set covers two
subsystems: drm and alsa.  The drm patches add support for the
gnb bus and the ACP hw block which provides the DMA engine for
the i2s codec.  The alsa patches add the ASoC driver for the i2s
codec.  Since the alsa changes depend on the drm changes in this
patch set as well as some other drm changes queued for 4.3, I'd like
to take the alsa patches in via the drm tree.

Patch 3 adds the register headers for the ACP block which is a
pretty big patch so I've excluded it from email.  The entire patch
set can be viewed here:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=acp-upstream

Thanks,

Alex

Chunming Zhou (2):
  drm/amdgpu: add amd_gnb_bus support
  drm/amd: add ACP 2.x register headers

Maruthi Bayyavarapu (1):
  drm/amd: add ACP driver support (v4)

Maruthi Srinivas Bayyavarapu (9):
  drm/amd: remove amd gnb bus default runtime pm ops
  drm/amd: modify ACP DMA buffer position update logic (v2)
  drm/amd: add ACP suspend/resume functionality
  drm/amd: change ACP SRAM banks used for audio
  drm/amd: shutdown unused ACP SRAM memory banks
  drm/amd: remove bitfield usage in ACP IP module
  ASoC: AMD: add AMD ASoC ACP-I2S driver (v2)
  ASoC: AMD: add suspend/resume for ACP PCM driver
  ASoC: AMD: add ACP PCM driver runtime PM

 drivers/gpu/drm/Kconfig                            |    5 +
 drivers/gpu/drm/Makefile                           |    1 +
 drivers/gpu/drm/amd/acp/Kconfig                    |    9 +
 drivers/gpu/drm/amd/acp/Makefile                   |    9 +
 drivers/gpu/drm/amd/acp/acp_hw.c                   | 1134 ++++++++++
 drivers/gpu/drm/amd/acp/acp_hw.h                   |   91 +
 drivers/gpu/drm/amd/acp/include/acp_gfx_if.h       |   49 +
 drivers/gpu/drm/amd/acp/include/amd_acp.h          |  214 ++
 drivers/gpu/drm/amd/amdgpu/Makefile                |   14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   11 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c            |  201 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h            |   40 +
 drivers/gpu/drm/amd/amdgpu/vi.c                    |   12 +
 drivers/gpu/drm/amd/bus/Kconfig                    |    7 +
 drivers/gpu/drm/amd/bus/Makefile                   |    4 +
 drivers/gpu/drm/amd/bus/amd_gnb_bus.c              |  261 +++
 drivers/gpu/drm/amd/include/amd_shared.h           |    1 +
 .../gpu/drm/amd/include/asic_reg/acp/acp_2_1_d.h   |  437 ++++
 .../drm/amd/include/asic_reg/acp/acp_2_1_enum.h    | 1198 ++++++++++
 .../drm/amd/include/asic_reg/acp/acp_2_1_sh_mask.h | 1568 +++++++++++++
 .../gpu/drm/amd/include/asic_reg/acp/acp_2_2_d.h   |  609 ++++++
 .../drm/amd/include/asic_reg/acp/acp_2_2_enum.h    | 1068 +++++++++
 .../drm/amd/include/asic_reg/acp/acp_2_2_sh_mask.h | 2292 ++++++++++++++++++++
 .../gpu/drm/amd/include/asic_reg/acp/acp_2_3_d.h   |  582 +++++
 .../drm/amd/include/asic_reg/acp/acp_2_3_enum.h    | 1079 +++++++++
 .../drm/amd/include/asic_reg/acp/acp_2_3_sh_mask.h | 2192 +++++++++++++++++++
 drivers/gpu/drm/amd/include/bus/amd_gnb_bus.h      |   78 +
 sound/soc/Kconfig                                  |    2 +-
 sound/soc/Makefile                                 |    1 +
 sound/soc/amd/Kconfig                              |   13 +
 sound/soc/amd/Makefile                             |   11 +
 sound/soc/amd/acp-pcm-dma.c                        |  759 +++++++
 sound/soc/amd/acp-rt286.c                          |  264 +++
 33 files changed, 14214 insertions(+), 2 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/acp/Kconfig
 create mode 100644 drivers/gpu/drm/amd/acp/Makefile
 create mode 100644 drivers/gpu/drm/amd/acp/acp_hw.c
 create mode 100644 drivers/gpu/drm/amd/acp/acp_hw.h
 create mode 100644 drivers/gpu/drm/amd/acp/include/acp_gfx_if.h
 create mode 100644 drivers/gpu/drm/amd/acp/include/amd_acp.h
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
 create mode 100644 drivers/gpu/drm/amd/bus/Kconfig
 create mode 100644 drivers/gpu/drm/amd/bus/Makefile
 create mode 100644 drivers/gpu/drm/amd/bus/amd_gnb_bus.c
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_1_d.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_1_enum.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_1_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_2_d.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_2_enum.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_2_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_3_d.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_3_enum.h
 create mode 100644 drivers/gpu/drm/amd/include/asic_reg/acp/acp_2_3_sh_mask.h
 create mode 100644 drivers/gpu/drm/amd/include/bus/amd_gnb_bus.h
 create mode 100644 sound/soc/amd/Kconfig
 create mode 100644 sound/soc/amd/Makefile
 create mode 100644 sound/soc/amd/acp-pcm-dma.c
 create mode 100644 sound/soc/amd/acp-rt286.c

-- 
1.8.3.1



More information about the Alsa-devel mailing list