mirror of https://github.com/thesofproject/sof.git
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:
parent
cedde4e574
commit
bd84f96cb9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue