dri-devel Archive on 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,
	maruthi.bayyavarapu@amd.com
Cc: Alex Deucher <alexander.deucher@amd.com>,
	lgirdwood@gmail.com, perex@perex.cz
Subject: [PATCH 0/3] Add ASoC support for AMD APUs [v2]
Date: Thu, 20 Aug 2015 16:09:19 -0400	[thread overview]
Message-ID: <1440101361-9912-1-git-send-email-alexander.deucher@amd.com> (raw)

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 mfd cell 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 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.

V2 changes:
- Use the MFD subsystem rather than adding our own bus
- Squash all sub-feature patches together
- fix comments mentioned in previous review

There was a question about the code and the module licensing.
IANAL, but this follows the same pattern that most if not all
drm drivers use.

There was also a comment about the patch changelog.  I think this
is more of a subsystem preference kind of thing.  Generally in the
drm we include the patch changelog and versions in the commit
messages so we have a history of the patch if we need to reference
it in the future.  If you have a strong preference for the audio
patch, we can drop that.

Patch 1 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-upstream2

Thanks,

Alex

Chunming Zhou (1):
  drm/amd: add ACP 2.x register headers

Maruthi Bayyavarapu (1):
  drm/amd: add ACP driver support [v6]

Maruthi Srinivas Bayyavarapu (1):
  ASoC: AMD: add AMD ASoC ACP-I2S driver [v4]

 drivers/gpu/drm/Kconfig                            |    2 +
 drivers/gpu/drm/amd/acp/Kconfig                    |   10 +
 drivers/gpu/drm/amd/acp/Makefile                   |    9 +
 drivers/gpu/drm/amd/acp/acp_hw.c                   | 1133 ++++++++++
 drivers/gpu/drm/amd/acp/acp_hw.h                   |   91 +
 drivers/gpu/drm/amd/acp/include/acp_gfx_if.h       |   49 +
 drivers/gpu/drm/amd/amdgpu/Makefile                |   13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |    5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c            |  208 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h            |   40 +
 drivers/gpu/drm/amd/amdgpu/vi.c                    |   12 +
 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 +++++++++++++++++++
 include/linux/mfd/amd_acp.h                        |  211 ++
 sound/soc/Kconfig                                  |    1 +
 sound/soc/Makefile                                 |    1 +
 sound/soc/amd/Kconfig                              |    5 +
 sound/soc/amd/Makefile                             |    3 +
 sound/soc/amd/acp-pcm-dma.c                        |  676 ++++++
 27 files changed, 13494 insertions(+), 1 deletion(-)
 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/amdgpu/amdgpu_acp.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.h
 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 include/linux/mfd/amd_acp.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

-- 
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-20 20:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 20:09 Alex Deucher [this message]
2015-08-20 20:09 ` [PATCH 2/3] drm/amd: add ACP driver support [v6] Alex Deucher
2015-08-20 20:09 ` [PATCH 3/3] ASoC: AMD: add AMD ASoC ACP-I2S driver [v4] Alex Deucher
2015-08-20 21:13   ` Mark Brown
2015-08-20 21:30     ` Alex Deucher
2015-08-20 22:31       ` Mark Brown
2015-08-20 23:11         ` Alex Deucher
2015-08-20 23:45           ` Mark Brown
2015-08-20 23:50             ` Alex Deucher
2015-08-21  0:10               ` Mark Brown
2015-08-21  2:05                 ` Alex Deucher

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=1440101361-9912-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox