Skip to content

Commit c0c720a

Browse files
committed
dma-trace: workaround reschedule work fail
If reschedule work timeout is too small. The reschedule will fail. Workaround this issue by increace the reschedule timeout. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
1 parent 734a5bf commit c0c720a

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 5
110+
#define DMA_TRACE_RESCHEDULE_TIME 500
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 5
97+
#define DMA_TRACE_RESCHEDULE_TIME 500
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 5
116+
#define DMA_TRACE_RESCHEDULE_TIME 500
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 5
96+
#define DMA_TRACE_RESCHEDULE_TIME 500
9797

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

0 commit comments

Comments
 (0)