Skip to content

Commit be0b058

Browse files
RanderWangxiulipan
authored andcommitted
dma-trace: tune the dma trace reschedule time
500us woulld cause dma trace buffer overflow at the boot up time. Now refine it to 100us to make both scheduler and dma trace happy Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
1 parent c0c720a commit be0b058

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/platform/apollolake/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct sof;
107107
* the interval of reschedule DMA trace copying in special case like half
108108
* fullness of local DMA trace buffer
109109
*/
110-
#define DMA_TRACE_RESCHEDULE_TIME 500
110+
#define DMA_TRACE_RESCHEDULE_TIME 100
111111

112112
/* DSP should be idle in this time frame */
113113
#define PLATFORM_IDLE_TIME 750000

src/platform/baytrail/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ struct sof;
9494
* the interval of reschedule DMA trace copying in special case like half
9595
* fullness of local DMA trace buffer
9696
*/
97-
#define DMA_TRACE_RESCHEDULE_TIME 500
97+
#define DMA_TRACE_RESCHEDULE_TIME 100
9898

9999
/* DSP should be idle in this time frame */
100100
#define PLATFORM_IDLE_TIME 750000

src/platform/cannonlake/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ struct sof;
113113
* the interval of reschedule DMA trace copying in special case like half
114114
* fullness of local DMA trace buffer
115115
*/
116-
#define DMA_TRACE_RESCHEDULE_TIME 500
116+
#define DMA_TRACE_RESCHEDULE_TIME 100
117117

118118
/* DSP should be idle in this time frame */
119119
#define PLATFORM_IDLE_TIME 750000

src/platform/haswell/include/platform/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ struct sof;
9393
* the interval of reschedule DMA trace copying in special case like half
9494
* fullness of local DMA trace buffer
9595
*/
96-
#define DMA_TRACE_RESCHEDULE_TIME 500
96+
#define DMA_TRACE_RESCHEDULE_TIME 100
9797

9898
/* DSP should be idle in this time frame */
9999
#define PLATFORM_IDLE_TIME 750000

0 commit comments

Comments
 (0)