Why does this patch get your mpeg4 codec to work - b/c the codec has a hard-coded channel 0 it needs (so your patch keeps channel 0 out of Linux's partition)?
If so, IMHO, that change doesn't belong in the mainline tree - that's a customer-specific integration issue. FWIW, the architecturally 'right' thing to do would be for the codec to get this resource via DSP-side DMAN3 or RMAN rather than hard-code it. > Is TI looking into this? Is TI looking into what - dynamically repartitioning DMA resources across CPUs at runtime? I don't think so, though I'm personally not at all against the idea. Chris > -----Original Message----- > From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] > Sent: Friday, April 17, 2009 4:15 PM > To: Ring, Chris > Cc: Kevin Hilman; davinci-linux-open-source@linux.davincidsp.com > Subject: Re: [PATCH] ARM: DaVinci: edma: reserve dsp dma usage > > Ring, Chris wrote: > > It may not have been clear, there's sort of a 2 phase > resource management: > > 1. At build/config time where the resources are > statically partitioned - some for ARM, some for DSP - and > given to their respective CPU-specific resource managers. I > think originally we simply cut the DMA resources in half and > gave half to each CPU. > > This is what will need changed eventually. The sooner the better. > My patch at least gets the our mpeg4 codec running again. > But I agree will Kevin that this is not a long term solution. > > Is TI looking into this? > > > 2. At run time where SW on each CPU (e.g. > drivers/codecs) asks the CPU-specific resource manager for > resources from their CPU-specific partition. > > > > There's no current support for the DSP resource manager > stealing resources from Linux or vice-versa. The initial > partitioning takes place once up front (in unfortunately 2 > different you-can-easily-introduce-collisions ways). > > > > I guess my comment was just cautioning us against stuff like this... > > > Thanks for the info > Troy > > _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source