Re: [PATCH V3] dmaengine: axi-dmac: Don't check the number of frames for alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26-03-19, 16:05, Alexandru Ardelean wrote:
> In 2D transfers (for the AXI DMAC), the number of frames (numf) represents
> Y_LENGTH, and the length of a frame is X_LENGTH. 2D transfers are useful
> for video transfers where screen resolutions ( X * Y ) are typically
> aligned for X, but not for Y.
> 
> There is no requirement for Y_LENGTH to be aligned to the bus-width (or
> anything), and this is also true for AXI DMAC.
> 
> Checking the Y_LENGTH for alignment causes false errors when initiating DMA
> transfers. This change fixes this by checking only that the Y_LENGTH is
> non-zero.

Applied, thanks

-- 
~Vinod



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux