RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-28 Thread Ring, Chris
Yep. The memory for the algs was simply malloc()'d. Chris -Original Message- From: T Ziomek [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 8:53 AM To: davinci-linux Cc: Ring, Chris Subject: Re: How to make CMEM cacheable on ARM side on DM6446? . . . In general,

Re: How to make CMEM cacheable on ARM side on DM6446?

2008-01-28 Thread T Ziomek
. . . In general, when an app issues a *_create() call, the ti.sdo.ce.alg package is used to grant memory to the algorithms. This ti.sdo.ce.alg package is built into both the ARM and DSP side executables (App and Server). In particular, in CE 2.00: * Algs on ARM-based systems get memory

RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-25 Thread Kumar Brajbhushan
Chris, Thanks for the detail you provided. They helped me understand better. Best Regards, Kumar -Original Message- From: Ring, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 11:28 PM To: Kumar Brajbhushan; davinci-linux-open-source@linux.davincidsp.com Subject: RE:

RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-24 Thread Ring, Chris
Glad to hear that worked for you - not too many users of that feature just yet! Detailed replies inlined below... Chris -Original Message- From: Kumar Brajbhushan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 11:15 PM To: Ring, Chris;

RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-23 Thread Ring, Chris
Can you help us understand your usage a little better (and which version of CE you're using)? VISA_create() is an SPI - System Programming Interface - used by algorithm providers that are integrating non-xDM algorithms into the Codec Engine environment. Is that what you're trying to do? And

RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-23 Thread Kumar Brajbhushan
Chris, Thanks a lot! I am using CE 2.0, XDC_3_00_2, bios_5_31_08 for a non-VISA component. I have written stubs/skeletons for this component based on example one available for video component. Yes, I am trying to run the component from ARM side as local. As compared to the case when the

RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-23 Thread Ring, Chris
There is a config param in the new ti.sdo.ce.alg.Settings module, very poorly documented in CE 2.00, but we'll have better docs in future releases. The config param you care about is .useCache, by default it's false, but you can set it to true in your app's .cfg script. Something like:

RE: How to make CMEM cacheable on ARM side on DM6446?

2008-01-23 Thread Kumar Brajbhushan
Chris, Thanks again. It does work. :) Is it possible to associate this setting at algorithm level only? That is algo A has cache enabled and B does not and both run in the same process. How do you associate this setting with any particular process? Please elaborate. I had some more queries in