Hi, Le mercredi 17 avril 2019 à 12:17 -0400, Nicolas Dufresne a écrit : > In general, we say stateless from a HW point of view. It simply means > that the HW (the accelerator) can be multiplexed to process several > independent streams. While with stateful firmware, you generally can't > save the state, and ends up with a specific number of concurrent stream > (scheduling happens in the firmware). There is exception to that of > course, the newest Amlogic/Meson video decoder allow for saving the > decoder state. The registers are undocumented, since they are filled by > the HW parser, but it's separated in a way that we could multiplex. That's a nice summary! I think it constitutes a good definition of what we should call a stateless decoder. Perhaps we could write it down in the spec somewhere? > Of course we do have a state in our drivers. Each time you open an m2m > device, you create an new instance which will keep track of done jobs, > pending jobs, active format, allocated memory, etc. Yes, definitely. Cheers, Paul