trace: refine reschedule time for dma trace

It is a simple fix for trace buffer overflowing at the boot
up time or debug mode FW. At boot up time, there are many trace
events for topology loading in very short time, the trace buffer
needs to be scheduled ASAP. 5us is the shortest time works on
every platforms.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
This commit is contained in:
Rander Wang 2018-08-08 11:01:56 +08:00
parent cedde4e574
commit bd84f96cb9
4 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ struct sof;
* the interval of reschedule DMA trace copying in special case like half
* fullness of local DMA trace buffer
*/
#define DMA_TRACE_RESCHEDULE_TIME 5000
#define DMA_TRACE_RESCHEDULE_TIME 5
/* DSP should be idle in this time frame */
#define PLATFORM_IDLE_TIME 750000

View File

@ -94,7 +94,7 @@ struct sof;
* the interval of reschedule DMA trace copying in special case like half
* fullness of local DMA trace buffer
*/
#define DMA_TRACE_RESCHEDULE_TIME 5000
#define DMA_TRACE_RESCHEDULE_TIME 5
/* DSP should be idle in this time frame */
#define PLATFORM_IDLE_TIME 750000

View File

@ -110,7 +110,7 @@ struct sof;
* the interval of reschedule DMA trace copying in special case like half
* fullness of local DMA trace buffer
*/
#define DMA_TRACE_RESCHEDULE_TIME 5000
#define DMA_TRACE_RESCHEDULE_TIME 5
/* DSP should be idle in this time frame */
#define PLATFORM_IDLE_TIME 750000

View File

@ -93,7 +93,7 @@ struct sof;
* the interval of reschedule DMA trace copying in special case like half
* fullness of local DMA trace buffer
*/
#define DMA_TRACE_RESCHEDULE_TIME 5000
#define DMA_TRACE_RESCHEDULE_TIME 5
/* DSP should be idle in this time frame */
#define PLATFORM_IDLE_TIME 750000