drivers: dma: paxdma: increase bd buffers.

Increase BD buffers from 7 to 9 to handle 1024 block
counts having mega/normal src,dst bd combinations in one request.

Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
This commit is contained in:
Raveendra Padasalagi 2021-02-19 14:59:14 +05:30 committed by Anas Nashif
parent 9adbc5a616
commit e2b51da6f5

View file

@ -31,7 +31,7 @@
#define PAX_DMA_TYPE_MEGA_SRC_DESC 0x6
#define PAX_DMA_TYPE_MEGA_DST_DESC 0x7
#define PAX_DMA_TYPE_PCIE_DESC 0xB
#define PAX_DMA_NUM_BD_BUFFS 7
#define PAX_DMA_NUM_BD_BUFFS 9
/* PCIE DESC, either DST or SRC DESC */
#define PAX_DMA_RM_DESC_BDCOUNT 2
@ -45,7 +45,7 @@
#define PAX_DMA_MEGA_LENGTH_MULTIPLE 16
/* Maximum DMA block count supported per request */
#define RM_V2_MAX_BLOCK_COUNT 4096
#define RM_V2_MAX_BLOCK_COUNT 1024
#define MAX_BD_COUNT_PER_HEADER 30
/*