Re: [PATCH] dmaengine: free descriptor when free chan resource

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

 



Vinod Koul <vinod.koul@xxxxxxxxx> writes:

> That would be better idea also not confuse folks.
>
> So I would revert the original patch, Documentation update, add new flag
> DMA_DESC_REUSE for this and let Robert's driver use this
>
> So is this plan fine with all, if so I push these changes tomorrow
Sure, works for me.
I small detail :

 - can I submit a quick patch to renable virt-dma to have reusable txs, using
   DMA_DESC_REUSE instead of DMA_CTR_ACK so that you can pick it up in the same
   cycle ?

 - can I add a function to dmaengine to mark a tx as "finished", ie. not
   reusable any more, and freeable ?
   If so, I'd like a name for it please.
   What about void async_tx_finish_reusable(struct dma_async_tx_descriptor *tx)
   ?

Cheers.

-- 
Robert
--
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