• Hongbo Zhang's avatar
    DMA: Freescale: change BWC from 256 bytes to 1024 bytes · 0ca583a2
    Hongbo Zhang authored
    Freescale DMA has a feature of BandWidth Control (ab. BWC), which is currently
    256 bytes and should be changed to 1024 bytes for best DMA throughput.
    Changing BWC from 256 to 1024 will improve DMA performance much, in cases
    whatever one channel is running or multi channels are running simultanously,
    large or small buffers are copied.  And this change doesn't impact memory
    access performance remarkably, lmbench tests show that for some cases the
    memory performance are decreased very slightly, while the others are even
    better.
    Tested on T4240.
    Signed-off-by: default avatarHongbo Zhang <hongbo.zhang@freescale.com>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    0ca583a2
fsldma.h 6.42 KB