alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Make the audio component binding more generic
@ 2018-07-17  9:26 Takashi Iwai
  2018-07-17  9:26 ` [PATCH v2 1/3] drm/i915: Split audio component to a generic type Takashi Iwai
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Takashi Iwai @ 2018-07-17  9:26 UTC (permalink / raw)
  To: alsa-devel; +Cc: Jim Qu, intel-gfx, dri-devel, Rodrigo Vivi

Hi,

this is a preliminiary patch set to convert the existing i915 /
HD-audio component binding to be applicable to other drivers like
radeon / amdgpu.  This patchset itself doesn't change the
functionality but only renames and split to a new drm_audio_component
stuff from i915_audio_component.

The actual usage of the new API will follow once after this one gets
reviewed / accepted.  The whole patches (including this patchset) are
found in topic/hda-acomp branch of sound.git tree.

BTW, since the whole stuff is about the audio binding, I suppose these
will go through sound git tree.  Let me know if anyone has concerns.


Thanks!

Takashi

===

v1->v2:
* Change to SPDX for the new drm_audio_component.h
* Fix remaining i915 word in drm_audio_component.h comments
* Fix NULL dereference in master_bind / _unbind ops

===

Takashi Iwai (3):
  drm/i915: Split audio component to a generic type
  ALSA: hda/i915: Associate audio component with devres
  ALSA: hda: Make audio component support more generic

 drivers/gpu/drm/i915/Kconfig       |   1 +
 drivers/gpu/drm/i915/intel_audio.c |  22 +-
 include/drm/drm_audio_component.h  | 118 ++++++++++
 include/drm/i915_component.h       |  85 +-------
 include/sound/hda_component.h      |  61 ++++++
 include/sound/hda_i915.h           |  37 +---
 include/sound/hdaudio.h            |   6 +-
 sound/hda/Kconfig                  |   7 +-
 sound/hda/Makefile                 |   1 +
 sound/hda/hdac_component.c         | 335 +++++++++++++++++++++++++++++
 sound/hda/hdac_i915.c              | 335 ++---------------------------
 sound/pci/hda/patch_hdmi.c         |  57 +++--
 sound/soc/codecs/hdac_hdmi.c       |  10 +-
 13 files changed, 607 insertions(+), 468 deletions(-)
 create mode 100644 include/drm/drm_audio_component.h
 create mode 100644 include/sound/hda_component.h
 create mode 100644 sound/hda/hdac_component.c

-- 
2.18.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-07-19 23:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17  9:26 [PATCH v2 0/3] Make the audio component binding more generic Takashi Iwai
2018-07-17  9:26 ` [PATCH v2 1/3] drm/i915: Split audio component to a generic type Takashi Iwai
2018-07-17 20:06   ` Rodrigo Vivi
2018-07-17  9:26 ` [PATCH v2 2/3] ALSA: hda/i915: Associate audio component with devres Takashi Iwai
2018-07-17  9:26 ` [PATCH v2 3/3] ALSA: hda: Make audio component support more generic Takashi Iwai
2018-07-18 20:54 ` [alsa-devel] [PATCH v2 0/3] Make the audio component binding " Pierre-Louis Bossart
2018-07-19  5:50   ` Takashi Iwai
2018-07-19 13:05     ` Pierre-Louis Bossart
2018-07-19 18:56       ` Takashi Iwai
2018-07-19 23:26         ` Pierre-Louis Bossart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).