[Sound-open-firmware] [PATCH v3 2/2] Do not check trace buffer fullness while a
Liam Girdwood
liam.r.girdwood at linux.intel.com
Tue Dec 5 22:21:59 CET 2017
On Tue, 2017-12-05 at 18:46 +0800, yan.wang at linux.intel.com wrote:
> From: Yan Wang <yan.wang at linux.intel.com>
>
> The purpose of checking half fullness is sending trace data as soon
> as
> possible. It will avoid local DMA trace buffer full and unsent trace
> data
> overwritten.
> If DMA trace copying is running currently, it is unnecessary to
> checking
> half fullness local DMA trace buffer.
>
> The following is implementation details:
> 1. Add one flag in DMA trace data strcuture.
> 2. Set/unset this flag in trace_work() callback.
> 3. Add checking for this flag in dtrace_event().
>
> Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
> ---
>
Applied and rewrote subject.
More information about the Sound-open-firmware
mailing list