[lkml]   [2008]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/4 v2] dmaengine: add a tx_free method to struct dma_async_tx_descriptor
    On Wed, Dec 10, 2008 at 3:36 AM, Guennadi Liakhovetski
    <> wrote:
    > From: Guennadi Liakhovetski <>
    > Some users reuse DMA transaction descriptors multiple times and need an
    > explicit call to release them. An example of such a user is Video4Linux, which
    > has to be able to release descriptors on ioctl(VIDIOC_DQBUF).
    > Signed-off-by: Guennadi Liakhovetski <>

    Hi Guennadi,

    Other dmaengine drivers have tasklets that scan the list of completed
    descriptors and free the "acked" ones. This happens in the cleanup
    /me looks
    ...hmm this driver does not have a cleanup routine? Ideally support
    for ioctl(VIDIOC_DQBUF) could be achieved through this mechanism
    without needing to increase the size of dma_async_tx_descriptor (which
    has cache utilization impacts on other drivers).


     \ /
      Last update: 2008-12-10 21:01    [W:0.019 / U:245.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site