alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/6] Enable HDA Codec support on Intel Platforms (Series1)
@ 2017-12-01  9:13 Rakesh Ughreja
  2017-12-01  9:13 ` [RFC 1/6] ASoC: hdac_hdmi: introduce macro to access HDMI private data Rakesh Ughreja
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Rakesh Ughreja @ 2017-12-01  9:13 UTC (permalink / raw)
  To: alsa-devel, broonie, tiwai, liam.r.girdwood
  Cc: vinod.koul, patches.audio, Rakesh Ughreja, pierre-louis.bossart

Enhanced HD Audio capabilities introduced in HD Audio controllers are
added in backward compatible way i.e. it does not change the behavior
of the controller with respect to HDA Bus and HDA devices.

Since there is no change in the hardware with respect to the HDA bus and
HDA device it is more appropriate to represent the same in software as
well.

In order to align software representation with hardware it makes more
sense to have common data structures across device, bus and driver for both
enhanced HDA controllers and legacy HDA controllers.

This patch series removes the hdac_ext_device structure, hdac_ext_bus and
hdac_ext_driver data structures so that legacy and enhanced HDaudio
capabilities can be handled in a backwards-compatible way without
separate definitions.

Once this clean-up is complete, additional patches will allow for
HDaudio codec support in an ASoC framework without the need to develop
new codec drivers, thereby enabling the use of the Intel DSP on more
platforms (currently limited to hdmi).

Rakesh Ughreja (6):
  ASoC: hdac_hdmi: introduce macro to access HDMI private data
  ASoC: hdac_hdmi: clean up hdac_ext_device variable names
  ASoC: hdac_hdmi: clean up hdac_device variable names
  ALSA: hdac: Replace struct hdac_ext_device with struct hdac_device
  ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus
    instead
  ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver
    instead

 include/sound/hdaudio.h                |  21 ++
 include/sound/hdaudio_ext.h            | 119 ++------
 sound/hda/ext/hdac_ext_bus.c           |  76 +++--
 sound/hda/ext/hdac_ext_controller.c    |  55 ++--
 sound/hda/ext/hdac_ext_stream.c        | 104 +++----
 sound/soc/codecs/hdac_hdmi.c           | 519 ++++++++++++++++-----------------
 sound/soc/intel/skylake/skl-messages.c |  50 ++--
 sound/soc/intel/skylake/skl-nhlt.c     |   8 +-
 sound/soc/intel/skylake/skl-pcm.c      | 112 ++++---
 sound/soc/intel/skylake/skl-topology.c |  18 +-
 sound/soc/intel/skylake/skl-topology.h |   6 +-
 sound/soc/intel/skylake/skl.c          | 176 +++++------
 sound/soc/intel/skylake/skl.h          |   7 +-
 13 files changed, 571 insertions(+), 700 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-12-01 16:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01  9:13 [RFC 0/6] Enable HDA Codec support on Intel Platforms (Series1) Rakesh Ughreja
2017-12-01  9:13 ` [RFC 1/6] ASoC: hdac_hdmi: introduce macro to access HDMI private data Rakesh Ughreja
2017-12-01 13:44   ` Applied "ASoC: hdac_hdmi: introduce macro to access HDMI private data" to the asoc tree Mark Brown
2017-12-01 14:50     ` Takashi Iwai
2017-12-01 15:53       ` Mark Brown
2017-12-01 16:02         ` Takashi Iwai
2017-12-01 16:40           ` Mark Brown
2017-12-01  9:13 ` [RFC 2/6] ASoC: hdac_hdmi: clean up hdac_ext_device variable names Rakesh Ughreja
2017-12-01 13:44   ` Applied "ASoC: hdac_hdmi: clean up hdac_ext_device variable names" to the asoc tree Mark Brown
2017-12-01  9:13 ` [RFC 3/6] ASoC: hdac_hdmi: clean up hdac_device variable names Rakesh Ughreja
2017-12-01 13:44   ` Applied "ASoC: hdac_hdmi: clean up hdac_device variable names" to the asoc tree Mark Brown
2017-12-01  9:13 ` [RFC 4/6] ALSA: hdac: Replace struct hdac_ext_device with struct hdac_device Rakesh Ughreja
2017-12-01  9:13 ` [RFC 5/6] ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead Rakesh Ughreja
2017-12-01  9:13 ` [RFC 6/6] ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver instead Rakesh Ughreja

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).