Re: [PATCH] dmaengine: tegra210-adma: fix transfer failure

From: Sameer Pujar
Date: Thu Jun 20 2019 - 23:06:51 EST



On 6/20/2019 10:13 PM, Jon Hunter wrote:
On 20/06/2019 17:15, Sameer Pujar wrote:
From Tegra186 onwards OUTSTANDING_REQUESTS field is added in channel
configuration register (bits 7:4). ADMA allows a maximum of 8 reads
to source and that many writes to target memory be outstanding at any
given point of time. If this field is not programmed, DMA transfers
fail to happen.
BTW, I am not sure I follow the above. You say a max of 8 reads to the
source, however, the field we are programming can have a value of up to
15. So does that mean this field should only be programmed with a max of 8?
Yes. As per spec. ADMA allows max value of 8.
Thanks
Jon