All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Stripe control functionality
@ 2019-01-11 17:22 Sameer Pujar
  2019-01-11 17:22 ` [PATCH v2 1/5] ALSA: hda: add verbs for stripe control Sameer Pujar
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Sameer Pujar @ 2019-01-11 17:22 UTC (permalink / raw)
  To: perex, tiwai, broonie; +Cc: alsa-devel, Sameer Pujar

Background
==========

Azalia Controller fetches command and audio data via DMA and send them
to codec through SDO(Serial Data Out) lines. SDO is for outboung and it
broadcasts to all codecs. There is atleast one SDO line present, but
there can be multiple SDO lines supported for extended bandwidth. This
is essential when a platform supports multiple hdmi/dp sinks and there
is a requirement for higher resolution audio playback. In such cases
simultaneous audio playback data can be striped across multiple SDOs.

Global Capabilities(GCAP) Register indicates the capabilities of the
controller. Bits 2:1 of GCAP can be read to know the number of supported
SDO lines (below is from HD audio spec)
  00: 1 SDO
  01: 2 SDO
  10: 4 SDO
  11: Reserved

Stripe control verb reports and controls the stripe capability of an
Audio Output Converter. This verb needs to be implemented only for an
audio output converter and only if the stripe bit of the Audio Widget
Capabilities parameter is 1. 
Stripe control: get code(0xf24) and set code(0x724)

Change log
==========

v1-->v2:
-------- 
  Patch 1: "ALSA: hda: add verbs for stripe control"
    * no change

  Patch 2: "ALSA: hda: Add api to program stripe control bits"
    * no change

  Patch 3: "ALSA: hda: add register offset for stripe control"
    * added mask for stripe control programming

  Patch 4: "ALSA: hda: program stripe bits for controller"
    * used stripe control mask instead of hard coded value

  Patch 5: "ALSA: hda: program stripe control for codec"
    * added conditional check to know if striping is supported.
      If supported, then only stripe verb is implemented.

===========

Sameer Pujar (5):
  ALSA: hda: add verbs for stripe control
  ALSA: hda: Add api to program stripe control bits
  ALSA: hda: add register offset for stripe control
  ALSA: hda: program stripe bits for controller
  ALSA: hda: program stripe control for codec

 include/sound/hda_register.h |  2 ++
 include/sound/hda_verbs.h    |  2 ++
 include/sound/hdaudio.h      |  3 +++
 sound/hda/hdac_stream.c      | 40 ++++++++++++++++++++++++++++++++++++++++
 sound/pci/hda/patch_hdmi.c   | 10 +++++++++-
 5 files changed, 56 insertions(+), 1 deletion(-)

-- 
2.7.4


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

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

end of thread, other threads:[~2019-01-14 17:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11 17:22 [PATCH v2 0/5] Stripe control functionality Sameer Pujar
2019-01-11 17:22 ` [PATCH v2 1/5] ALSA: hda: add verbs for stripe control Sameer Pujar
2019-01-11 17:22 ` [PATCH v2 2/5] ALSA: hda: Add api to program stripe control bits Sameer Pujar
2019-01-11 17:55   ` Pierre-Louis Bossart
2019-01-12  6:47     ` Sameer Pujar
2019-01-14 17:28       ` Pierre-Louis Bossart
2019-01-11 17:22 ` [PATCH v2 3/5] ALSA: hda: add register offset for stripe control Sameer Pujar
2019-01-11 17:22 ` [PATCH v2 4/5] ALSA: hda: program stripe bits for controller Sameer Pujar
2019-01-11 17:22 ` [PATCH v2 5/5] ALSA: hda: program stripe control for codec Sameer Pujar
2019-01-11 18:02 ` [PATCH v2 0/5] Stripe control functionality Pierre-Louis Bossart
2019-01-12  6:31   ` Sameer Pujar
2019-01-14 17:40     ` Pierre-Louis Bossart

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.