[email protected] writes:
> From: Sandeep Paulraj <[email protected]>
>
> For best performance, codecs often setup linked triggered
> transfers with a contiguous block of params, and that is when
> this API is used. Setup/configuration of these parameter RAMs
> is most efficient if they are contiguous.
> There is an API to allocate a set of contiguous parameter RAMs and
> a corresponding API to free a set of contiguous parameter RAMs
>
> Signed-off-by: Sandeep Paulraj <[email protected]>
Looks fine, minor whitespace problem below that I'll fix when committing.
[...]
> /* Parameter RAM operations (i) -- read/write partial slots */
> diff --git a/arch/arm/mach-davinci/include/mach/edma.h
> b/arch/arm/mach-davinci/include/mach/edma.h
> index 3c7dc2d..b96b2f4 100644
> --- a/arch/arm/mach-davinci/include/mach/edma.h
> +++ b/arch/arm/mach-davinci/include/mach/edma.h
> @@ -226,6 +226,9 @@ enum sync_dimension {
>
> #define EDMA_CHANNEL_ANY -1 /* for edma_alloc_channel() */
> #define EDMA_SLOT_ANY -1 /* for
> edma_alloc_slot() */
> +#define EDMA_CONT_PARAMS_ANY 1001
> +#define EDMA_CONT_PARAMS_FIXED_EXACT 1002
> +#define EDMA_CONT_PARAMS_FIXED_NOT_EXACT 1003
stray tab here
Kevin
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source