summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2016-05-11 15:15:11 +0200
committerVinod Koul <vinod.koul@intel.com>2016-05-14 10:04:10 +0200
commit20ea6be6bffd4da8cfe3aeea9e6a090f346a54da (patch)
treecaa4b02597ed8bc935cae7489b0eeacaa3b0506c /drivers/dma/dmaengine.c
parentdmaengine: core: Use IS_ENABLED() instead of checking for built-in or module (diff)
downloadlinux-20ea6be6bffd4da8cfe3aeea9e6a090f346a54da.tar.xz
linux-20ea6be6bffd4da8cfe3aeea9e6a090f346a54da.zip
dmaengine: of_dma: approximate an average distribution
Currently the following DT description would result in dmac0 always being tried first and dmac1 second if dmac0 was unavailable. This results in heavier use of dmac0 then of dmac1. This patch adds an approximate average distribution over the two nodes lessening the load of anyone of them. i2c6: i2c@e60b0000 { ... dmas = <&dmac0 0x77>, <&dmac0 0x78>, <&dmac1 0x77>, <&dmac1 0x78>; dma-names = "tx", "rx", "tx", "rx"; ... }; Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions