davinci: da850: define edma-memcpy-channels
RFC PATCH 1/1 davinci: da850: define edma-memcpy-channels
When booting with a device tree, message appears:
memcpy is disabled
When reading through the bindings for eDMA3, it shows that ti,edma-memcpy-channels is an optional property, but the example binding uses it.
RFC: I'll be the first to admit that I don't understand what this is doing, but it seems like a DMA enabled memcpy would improve performance. Is this appropriate for da850? Since there are two eDMA3-tpcc controllers, is there a set of channels we can use for each?
arch/arm/boot/dts/da850.dtsi +1 -1
@@ -263,7 +263,7 @@ interrupts = <11 12>; interrupt-names = "edma3_ccint", "edma3_ccerrint"; #dma-cells = <2>; - + ti,edma-memcpy-channels = <20 21>; ti,tptcs = <&edma0_tptc0 7>, <&edma0_tptc1 0>; }; edma0_tptc0: tptc at 8000 {
Signature · 1 line
2.7.4
RFC PATCH 1/1 davinci: da850: define edma-memcpy-channels
Hi Adam,
Quoted 6 lines · Adam Ford
When booting with a device tree, message appears:
memcpy is disabled
When reading through the bindings for eDMA3, it shows that ti,edma-memcpy-channels is an optional property, but the example binding uses it.
Quoted 7 lines
RFC: I'll be the first to admit that I don't understand what this is doing, but it seems like a DMA enabled memcpy would improve performance. Is this appropriate for da850? Since there are two eDMA3-tpcc controllers, is there a set of channels we can use for each?
Signed-off-by Adam Ford <[email protected]>
This enables DMA-based memcpy (see drivers/dma/dmaetest.c for example). But does not accelerate any memcpy in kernel automatically.
If this is done, it should be done in a board specific manner because the available channels you pick up for memcpy support can change from board to board.
Thanks,
Sekhar