mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 06:17:35 +00:00
dw_dmac: Setting Default Burst length for transfers as 16.
This patch sets default Burst length for all transfer to 16. This will enhance performance when user doesn't have any chan->private data. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
ee66509d7f
commit
e51dc53b8c
@ -36,8 +36,8 @@
|
|||||||
struct dw_dma_slave *__slave = (private); \
|
struct dw_dma_slave *__slave = (private); \
|
||||||
int dms = __slave ? __slave->dst_master : 0; \
|
int dms = __slave ? __slave->dst_master : 0; \
|
||||||
int sms = __slave ? __slave->src_master : 1; \
|
int sms = __slave ? __slave->src_master : 1; \
|
||||||
u8 smsize = __slave ? __slave->src_msize : 0; \
|
u8 smsize = __slave ? __slave->src_msize : DW_DMA_MSIZE_16; \
|
||||||
u8 dmsize = __slave ? __slave->dst_msize : 0; \
|
u8 dmsize = __slave ? __slave->dst_msize : DW_DMA_MSIZE_16; \
|
||||||
\
|
\
|
||||||
(DWC_CTLL_DST_MSIZE(dmsize) \
|
(DWC_CTLL_DST_MSIZE(dmsize) \
|
||||||
| DWC_CTLL_SRC_MSIZE(smsize) \
|
| DWC_CTLL_SRC_MSIZE(smsize) \
|
||||||
|
Loading…
Reference in New Issue
Block a user