On Tuesday 14 July 2009, Paulraj, Sandeep wrote: > According to dm355.c I can see channel 12 in the dma_chan_dm355_no_event > Structure.
Which means that *one* of the *three* ways to use channels to start DMA doesn't work ... but the other two work just fine. If you care that it has an entry in that table, you should be requesting channel 12. Not the slot that happens to be coupled to it... > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf > > Of David Brownell > > Sent: Monday, July 13, 2009 6:36 PM > > To: [email protected] > > Subject: Re: EDMA alloc slot question > > > > On Monday 13 July 2009, Liu, Yan wrote: > > > I do not understand why slot the user specified needs to be > > > smaller than 'edma_info[ctlr]->num_channels'. In the case of > > > dm355, this is 64. > > > > Because allocating a parameter RAM slot is different from > > allocating a DMA channel. > > > > If you want to allocate a channel, so so explicitly; you > > will also get an associated RAM slot. > > > > But by asking for a slot, you've said you want to get ONLY > > that RAM slot, and will be using it with some channel you > > have already allocated. > > > > _______________________________________________ > > Davinci-linux-open-source mailing list > > [email protected] > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
