diff options
author | Cooper Jr., Franklin <fcooper@ti.com> | 2016-05-04 20:34:43 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-05-30 10:03:16 +0200 |
commit | aa7abd312c11744f9718338a40ebaaf0685a768a (patch) | |
tree | 91adbfe350b8184ba79cc4fb09cddb1e01f920dc /mm/huge_memory.c | |
parent | Linux 4.7-rc1 (diff) | |
download | linux-aa7abd312c11744f9718338a40ebaaf0685a768a.tar.xz linux-aa7abd312c11744f9718338a40ebaaf0685a768a.zip |
mtd: nand: omap2: Support parsing dma channel information from DT
Switch from dma_request_channel to allow passing dma channel
information from DT rather than hardcoding a value.
Also provide a handle to the GPMC's dev so it can be used to parse the DMA
channel information within the GPMC's DT node.
Performance Numbers via mtd_speedtest now that EDMA based prefetch works:
AM335x Performance numbers:
DMA
CPULOAD Write: 54% Read: 35%
page write speed -23% (vs non dma)
page read speed -35% (vs non dma)
NO DMA (prefetch-polled)
CPULOAD Write: 98% Read: 98%
AM437x Performance numbers:
DMA
CPU LOAD Write: 56% Read: 36%
page write speed -16% (vs non dma)
page read speed -22% (vs non dma)
NO DMA (prefetch-polled)
CPULOAD Write: 93% Read: 93%
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions