Skip to content

Commit 3753fc5

Browse files
authored
Merge pull request #316 from RanderWang/trace-1.2
dma-trace: tune the dma trace reschedule time
2 parents 7ac78f4 + 5fcaab6 commit 3753fc5

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
@@ -104,7 +104,7 @@ struct sof;
104104
* the interval of reschedule DMA trace copying in special case like half
105105
* fullness of local DMA trace buffer
106106
*/
107-
#define DMA_TRACE_RESCHEDULE_TIME 500
107+
#define DMA_TRACE_RESCHEDULE_TIME 100
108108

109109
/* DSP should be idle in this time frame */
110110
#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
@@ -110,7 +110,7 @@ struct sof;
110110
* the interval of reschedule DMA trace copying in special case like half
111111
* fullness of local DMA trace buffer
112112
*/
113-
#define DMA_TRACE_RESCHEDULE_TIME 500
113+
#define DMA_TRACE_RESCHEDULE_TIME 100
114114

115115
/* DSP should be idle in this time frame */
116116
#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)