All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] better support for bursty DMA usages
@ 2015-07-08 10:10 Pierre-Louis Bossart
  2015-07-08 10:10 ` [RFC PATCH 1/4] ALSA: core: let low-level driver or userspace disable rewinds Pierre-Louis Bossart
                   ` (5 more replies)
  0 siblings, 6 replies; 34+ messages in thread
From: Pierre-Louis Bossart @ 2015-07-08 10:10 UTC (permalink / raw)
  To: alsa-devel; +Cc: Pierre-Louis Bossart

Set of patches to fix issues with hw_ptr fuzziness [1] and increased buffering
 w/ DSPs

1. disable rewinds to allow for new HDaudio SPIB DMA functionality (fetch up to
the application pointer, rewinds not supported)
2. report max in-flight bytes to avoid problems with stale data (late wake-ups,
rewinds)

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2015-June/093646.html

TODO:
1. fixes and alsa-lib updates (compile-tested only for now)
2. get feedback
3. if supported, set DMA buffering based on negotiation between driver and app (capabilities vs. 
latency needs)

Pierre-Louis Bossart (4):
  ALSA: core: let low-level driver or userspace disable rewinds
  ALSA: core: add .notify callback for pcm ops
  ALSA: core: add report of max dma burst
  ALSA: hda: add default value for max_dma_burst

 include/sound/pcm.h            |  5 +++++
 include/uapi/sound/asound.h    |  6 ++++--
 sound/core/pcm_lib.c           | 19 +++++++++++++++++++
 sound/core/pcm_native.c        | 33 ++++++++++++++++++++++++++++++++-
 sound/pci/hda/hda_controller.c |  1 +
 5 files changed, 61 insertions(+), 3 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-07-30 13:47 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08 10:10 [RFC PATCH 0/4] better support for bursty DMA usages Pierre-Louis Bossart
2015-07-08 10:10 ` [RFC PATCH 1/4] ALSA: core: let low-level driver or userspace disable rewinds Pierre-Louis Bossart
2015-07-08 14:21   ` Takashi Iwai
2015-07-08 16:58     ` Pierre-Louis Bossart
2015-07-11 17:06   ` Alexander E. Patrakov
2015-07-14  3:32     ` Raymond Yau
2015-07-14 17:39       ` Alexander E. Patrakov
2015-07-15  1:23         ` Raymond Yau
2015-07-15  4:51           ` Alexander E. Patrakov
2015-07-28 14:19     ` Pierre-Louis Bossart
2015-07-28 15:43       ` Alexander E. Patrakov
2015-07-29 17:46         ` Pierre-Louis Bossart
2015-07-30  6:11           ` Alexander E. Patrakov
2015-07-30 13:46             ` Pierre-Louis Bossart
2015-07-08 10:10 ` [RFC PATCH 2/4] ALSA: core: add .notify callback for pcm ops Pierre-Louis Bossart
2015-07-08 14:27   ` Takashi Iwai
2015-07-08 17:10     ` Pierre-Louis Bossart
2015-07-09 14:44       ` Takashi Iwai
2015-07-09  7:25     ` Raymond Yau
2015-07-09  7:35       ` Pierre-Louis Bossart
2015-07-08 10:10 ` [RFC PATCH 3/4] ALSA: core: add report of max dma burst Pierre-Louis Bossart
2015-07-08 14:37   ` Takashi Iwai
2015-07-08 17:46     ` Pierre-Louis Bossart
2015-07-10  2:35       ` Raymond Yau
2015-07-10 17:13         ` Lars-Peter Clausen
2015-07-11 17:46     ` Alexander E. Patrakov
2015-07-11 18:28       ` Jaroslav Kysela
2015-07-16  2:11         ` Raymond Yau
2015-07-08 10:10 ` [RFC PATCH 4/4] ALSA: hda: add default value for max_dma_burst Pierre-Louis Bossart
2015-07-08 14:31 ` [RFC PATCH 0/4] better support for bursty DMA usages Takashi Iwai
2015-07-08 17:50   ` Pierre-Louis Bossart
2015-07-15 10:14 ` Raymond Yau
2015-07-15 10:38   ` Alexander E. Patrakov
2015-07-22 14:44     ` Raymond Yau

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.