rk: ion: reduce snapshot buf

This commit is contained in:
CMY
2014-04-18 18:44:34 +08:00
parent 0727405d3b
commit 6dcfa84ccd
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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)) {