ARM: omap: don't reserve DSP RAM with CMA
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 19 Mar 2013 23:08:19 +0000 (01:08 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 19 Mar 2013 23:08:19 +0000 (01:08 +0200)
dspbridge can just use DMA alloc fine with CMA.

arch/arm/plat-omap/common.c

index d9f10a3..842df13 100644 (file)
@@ -64,5 +64,7 @@ void __init omap_reserve(void)
 {
        omapfb_reserve_sdram_memblock();
        omap_vram_reserve_sdram_memblock();
+#ifndef CONFIG_CMA
        omap_dsp_reserve_sdram_memblock();
+#endif
 }