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>
This commit is contained in:
Zhang Peng
2020-04-29 20:08:56 +08:00
committed by Dong Aisheng
parent b5a342d9e1
commit 109dfcf26d

View File

@ -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);