Just a quick [hopefully not confusing] clarifying point... All this discussion is correct assuming all the codecs are 'remote'; that is, all codecs execute on the DSP. If any codecs are ARM-based (e.g. all the DM355/365 codecs) and managed by Codec Engine, their XDAIS-requested memory will also be allocated from CMEM.
Chris > -----Original Message----- > From: davinci-linux-open-source-boun...@linux.davincidsp.com > [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com > ] On Behalf Of david.kond...@legrand.us > Sent: Monday, February 15, 2010 6:51 AM > To: Sameer Naik > Cc: davinci-linux-open-source@linux.davincidsp.com > Subject: RE: CMEM Memory Map > > > Greetings, > > As far as I knew, any XDAIS or XDM spec'd algorithms cannot > allocate their > own CMEM buffers. > CMEM allocations are always under application control and thus you can > dictate where the shared memory is allocated. > > In fact, you could not use CMEM at all and just have a > section of memory > that is non-cached and untouched by the kernel, > but it is easier to use the CMEM driver. > > What you may be thinking of the is algorithm heap (sometimes called > DDRALGHEAP) and scratch DDR memory. > These can be requested (and hence denied) by the algorithm > from the Codec > Server. > > Managing total system memory involves more than just kernel + cmem > allocation. > > Fortunately, the davinci wiki has a great write-up about it here: > http://wiki.davincidsp.com/index.php/Changing_the_DVEVM_memory_map > > Hope this helps, > David > > -- > DAVID A. KONDRAD > Software Design Engineer > Legrand Home Systems Division > http://www.legrand.us/onq > > This email, and any document attached hereto, may contain > confidential and/or privileged information. If you are not the > intended recipient (or have received this email in error) please > notify the sender immediately and destroy this email. Any > unauthorized, direct or indirect, copying, disclosure, distribution > or other use of the material or parts thereof is strictly > forbidden. > _______________________________________________ > Davinci-linux-open-source mailing list > Davinci-linux-open-source@linux.davincidsp.com > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source