rk: ion: reduce snapshot buf
authorCMY <cmy@rock-chips.com>
Fri, 18 Apr 2014 10:44:34 +0000 (18:44 +0800)
committerCMY <cmy@rock-chips.com>
Fri, 18 Apr 2014 10:44:54 +0000 (18:44 +0800)
arch/arm/configs/rockchip_defconfig
drivers/staging/android/ion/ion.c

index ae742757af69bcd46ef963cdf1ae38128f7fcd2b..9365de8513a54fb5772a3edf5fa050f82e847bce 100755 (executable)
@@ -502,7 +502,7 @@ CONFIG_SW_SYNC_USER=y
 CONFIG_ION=y
 CONFIG_ION_ROCKCHIP=y
 CONFIG_ION_ROCKCHIP_SNAPSHOT=y
-CONFIG_ION_SNAPSHOT_BUF_SHIFT=18
+CONFIG_ION_SNAPSHOT_BUF_SHIFT=15
 CONFIG_COMMON_CLK_DEBUG=y
 CONFIG_IIO=y
 CONFIG_ROCKCHIP_ADC=y
index 0b7c5d785f27cd988b4db3ed6dc3760cc917a0d0..21df3c4516bda040309e9d57977d499977976a65 100755 (executable)
@@ -2053,9 +2053,9 @@ int ion_snapshot_save(struct ion_device *idev)
                seq_printf(&seqf, "++++++++++++++++ HEAP: %s ++++++++++++++++\n",
                        heap->name);
                ion_debug_heap_show(&seqf, NULL);
-               seq_printf(&seqf, "\n");
-               if (ION_HEAP_TYPE_DMA==heap->type)
-                       ion_cma_heap_debug_show(&seqf, NULL);
+//             seq_printf(&seqf, "\n");
+//             if (ION_HEAP_TYPE_DMA==heap->type)
+//                     ion_cma_heap_debug_show(&seqf, NULL);
        }
 
        for (n = rb_first(&idev->clients); n; n = rb_next(n)) {