[alsa-devel] [PATCH v3] ALSA: core: let low-level driver or userspace disable rewinds
Vinod Koul
vinod.koul at intel.com
Mon Jun 19 10:03:47 CEST 2017
On Mon, Jun 19, 2017 at 11:52:37AM +0530, Subhransu S. Prusty wrote:
> From: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
>
> Add new hw_params flag to explicitly tell driver that rewinds will never
> be used. This can be used by low-level driver to optimize DMA operations
> and reduce power consumption. Use this flag only when data written in
> ring buffer will never be invalidated, e.g. any update of appl_ptr is
> final.
>
> Note that the update of appl_ptr include both a read/write data
> operation as well as snd_pcm_forward() whose behavior is not modified.
Reviewed-By: Vinod Koul <vinod.koul at intel.com>
--
~Vinod
More information about the Alsa-devel
mailing list