All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: broonie@kernel.org, airlied@gmail.com,
	dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org
Cc: Alex Deucher <alexander.deucher@amd.com>,
	maruthi.bayyavarapu@amd.com, lgirdwood@gmail.com, perex@perex.cz
Subject: [PATCH 00/12] Add ASoC support for AMD APUs
Date: Thu,  6 Aug 2015 10:25:01 -0400	[thread overview]
Message-ID: <1438871112-25946-1-git-send-email-alexander.deucher@amd.com> (raw)

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2015-08-06 14:25 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 14:25 Alex Deucher [this message]
2015-08-06 14:25 ` [PATCH 01/12] drm/amdgpu: add amd_gnb_bus support Alex Deucher
2015-08-06 19:36   ` Lars-Peter Clausen
2015-08-07 10:25   ` Mark Brown
2015-08-07 14:17     ` Alex Deucher
2015-08-07 16:16       ` Felix Kuehling
2015-08-07 18:24         ` Mark Brown
2015-08-07 20:03           ` Felix Kuehling
2015-08-10 11:56             ` Mark Brown
2015-08-07 17:20       ` Mark Brown
2015-08-06 14:25 ` [PATCH 02/12] drm/amd: remove amd gnb bus default runtime pm ops Alex Deucher
2015-08-06 14:25 ` [PATCH 04/12] drm/amd: add ACP driver support (v4) Alex Deucher
2015-08-06 14:25 ` [PATCH 05/12] drm/amd: modify ACP DMA buffer position update logic (v2) Alex Deucher
2015-08-06 14:25 ` [PATCH 06/12] drm/amd: add ACP suspend/resume functionality Alex Deucher
2015-08-06 14:25 ` [PATCH 07/12] drm/amd: change ACP SRAM banks used for audio Alex Deucher
2015-08-06 14:25 ` [PATCH 08/12] drm/amd: shutdown unused ACP SRAM memory banks Alex Deucher
2015-08-06 14:25 ` [PATCH 09/12] drm/amd: remove bitfield usage in ACP IP module Alex Deucher
2015-08-06 14:25 ` [PATCH 10/12] ASoC: AMD: add AMD ASoC ACP-I2S driver (v2) Alex Deucher
2015-08-06 19:22   ` Mark Brown
2015-08-07  9:27     ` Bayyavarapu, Maruthi
2015-08-06 14:25 ` [PATCH 11/12] ASoC: AMD: add suspend/resume for ACP PCM driver Alex Deucher
2015-08-06 19:23   ` Mark Brown
2015-08-06 14:25 ` [PATCH 12/12] ASoC: AMD: add ACP PCM driver runtime PM Alex Deucher
2015-08-06 19:26   ` Mark Brown
2015-08-07  9:41     ` Bayyavarapu, Maruthi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438871112-25946-1-git-send-email-alexander.deucher@amd.com \
    --to=alexdeucher@gmail.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=lgirdwood@gmail.com \
    --cc=maruthi.bayyavarapu@amd.com \
    --cc=perex@perex.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.