diff options
author | Zhang Peng <peng.zhang_8@nxp.com> | 2020-04-29 20:08:56 +0800 |
---|---|---|
committer | Zhang Peng <peng.zhang_8@nxp.com> | 2020-04-29 20:50:04 +0800 |
commit | 1a17334e714037f8424e5f1df5cbcd06f6e79294 (patch) | |
tree | 53a1d1449755027838a56bd7266ab9bae223cfdc /sound/soc/fsl/fsl_dsp.h | |
parent | fe01a5d14bf2d8e49e9a6eeccfd3b9c2f9757a08 (diff) |
MLK-23837 Asoc: fsl_dsp: Fix system crash when do dsp suspend test
The issue is GPU will crash when do dsp suspend test, and only
meet this issue when load GPU as module.
The reason is that dsp framework's global data set size little
than actul size. So dsp will touch the memory that not owned
dsp, then caused GPU crash.
Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp.h')
-rw-r--r-- | sound/soc/fsl/fsl_dsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_dsp.h b/sound/soc/fsl/fsl_dsp.h index d94d8258d6ef..bbc927552489 100644 --- a/sound/soc/fsl/fsl_dsp.h +++ b/sound/soc/fsl/fsl_dsp.h @@ -149,7 +149,7 @@ struct fsl_dsp { #define MSG_BUF_SIZE 8192 #define INPUT_BUF_SIZE 4096 #define OUTPUT_BUF_SIZE 16384 -#define DSP_CONFIG_SIZE 4096 +#define DSP_CONFIG_SIZE 8192 void *memcpy_dsp(void *dest, const void *src, size_t count); void *memset_dsp(void *dest, int c, size_t count); |