diff options
author | Shengjiu Wang <b02247@freescale.com> | 2014-06-10 16:13:09 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-08-27 18:28:55 -0500 |
commit | 946a74851865137001231927db9b5b8a9b528a92 (patch) | |
tree | fc1006d34f435d00cbed7b24dd0fe2db885e891c /sound | |
parent | 24fd2a049445a0f6c49111daca7f2bb233391e22 (diff) |
ENGR00317636 ASoC: fsl: hdmi: Disable NEON optimization
Enable NEON optimization will cause pulseaudio crash in the user space.
Which is caused by using the NEON instruction, if only use "VPUSH, VPOP" in the
function, crash will be happened also.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-hdmi-dma.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-hdmi-dma.c b/sound/soc/fsl/imx-hdmi-dma.c index 8f3e79845fa6..d8d071507c11 100644 --- a/sound/soc/fsl/imx-hdmi-dma.c +++ b/sound/soc/fsl/imx-hdmi-dma.c @@ -286,6 +286,17 @@ static void init_table(int channels) } } +/* + * FIXME: Disable NEON Optimization in hdmi, or it will cause crash of + * pulseaudio in the userspace. There is no issue for the Optimization + * implemenation, if only use "VPUSH, VPOP" in the function, the pulseaudio + * will crash also. So for my assumption, we can't use the NEON in the + * interrupt.(tasklet is implemented by softirq.) + * Disable SMP, preempt, change the dma buffer to nocached, add protection of + * Dn register and fpscr, all these operation have no effect to the result. + */ +#define HDMI_DMA_NO_NEON + #ifdef HDMI_DMA_NO_NEON /* Optimization for IEC head */ static void hdmi_dma_copy_16_c_lut(u16 *src, u32 *dst, int samples, |