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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user