On Wed, 2011-03-16 at 17:26 +0530, Mark Brown wrote:
It would be nice to have a standard userspace API for this but I'm not aware of anyone who's looked at it in detail and you start having to also take into account other algorithms that are running on the device so there's nothing to point people at right now and no real prospect of there being. I don't know if it's something we can resolve entirely in the kernel as I'm aware that some of the DSP implementations have non-trivial management code in userspace that they talk to which may mean that the standard API has to be a userspace one. There's also the difference between memory to memory implementations (which fit into a userspace chain much more readily) and tunneled implementations (which do need new infrastructure).
Yes, I was also thinking this needs to have both the user land component for applications to use and kernel land for DSP implementations. Agreed, this should also comprehend algorithms.