lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 2/2] dmaengine: add TODO items for future work on dma drivers
    From
    On 25 May 2011 14:39, Per Forlin <per.forlin@linaro.org> wrote:
    > On 25 May 2011 13:39, Koul, Vinod <vinod.koul@intel.com> wrote:
    >> From: Vinod Koul <vinod.koul@intel.com>
    >>
    >> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    >> ---
    >>  drivers/dma/TODO |   12 ++++++++++++
    >>  1 files changed, 12 insertions(+), 0 deletions(-)
    >>  create mode 100644 drivers/dma/TODO
    >>
    >> diff --git a/drivers/dma/TODO b/drivers/dma/TODO
    >> new file mode 100644
    >> index 0000000..b67d184
    >> --- /dev/null
    >> +++ b/drivers/dma/TODO
    >> @@ -0,0 +1,12 @@
    >> +TODO for slave dma
    >> +
    >> +1. Move remaining drivers to use new slave interface
    >> +2. Remove old slave pointer machansim
    >> +3. Make issue_pending to start the transaction in below drivers
    >> +       - mpc512x_dma
    >> +       - imx-dma
    >> +       - imx-sdma
    >> +       - mxs-dma.c
    >> +       - dw_dmac
    >> +       - intel_mid_dma
    >> +       - ste_dma40
    > ste_dma40 already does this. At least is does so in 2.6.39. I may not
    > be up to date of what is merged for 2.6.40.
    >
    I looked at the code once more and ste_dam40 should be on this list :)
    ste_dm40 only treats issue_pending accordingly if the DMA driver is in
    idle. If the dma is active the desc:s submitted from submit() will be
    started later on from dma-irq-function. The dma-irq-function simply
    checks if there are pending desc are start them if any. I will fix a
    patch for this.

    /Per
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-05-25 14:57    [W:0.024 / U:59.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site