Proper use of DMA_CTRL_ACK and dma_run_dependencies

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

 



Hi,

I am wondering what is the proper way to use the DMA_CTRL_ACK flag and
the dma_run_dependencies call.


Which part has to managed the DMA_CTRL_ACK flag? Controller, device or
both?
For instance I have found some controllers setting the DMA_CTRL_ACK flag
but it is overwritten by the device.
Some devices set DMA_CTRL_ACK and call async_tx_ack. Does it mean the
controller has to call async_tx_clear_ack on its side?


About dma_run_dependencies, I can't figure out if it is mandatory or
not. Some controllers use it some don't.


Perhaps you could clarify that for me.


Ludovic
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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