From 6dcfa84ccdb800f344071f2d0e92375d28769b39 Mon Sep 17 00:00:00 2001 From: CMY Date: Fri, 18 Apr 2014 18:44:34 +0800 Subject: [PATCH] rk: ion: reduce snapshot buf --- arch/arm/configs/rockchip_defconfig | 2 +- drivers/staging/android/ion/ion.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/rockchip_defconfig b/arch/arm/configs/rockchip_defconfig index ae742757af69..9365de8513a5 100755 --- a/arch/arm/configs/rockchip_defconfig +++ b/arch/arm/configs/rockchip_defconfig @@ -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 diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 0b7c5d785f27..21df3c4516bd 100755 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -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)) { -- 2.34.1