When using visl in automated tests, we need to have output frames that can be compared to reference frames or hash of those to validate that the whole pipeline is working properly. Add a "stable_output" module parameter to make sure that a given input stream always outputs the same frames. This is done by skipping information like queues status and pointer values. This also adds some stable variation in the frames so that different input give more different output. Changes since v2: - Set parameters permissions to 0444 in visl and vidtv - Make stable_output true by default - Keep showing frames timestamps and remove vb2 buffer indexes only in stable output mode - Make codec_variablility non optional (remove parameter, keep implementation) - Add details on used variability fields Changes since v1: - Fix typo in parameter documentation Detlev Casanova (4): media: visl,vidtv: Set parameters permissions to 0444 media: visl: Add a stable_output parameter doc: visl: Document stable_output parameter visl: Add codec specific variability on output frames Documentation/admin-guide/media/visl.rst | 4 + .../media/test-drivers/vidtv/vidtv_bridge.c | 20 +- drivers/media/test-drivers/visl/visl-core.c | 15 +- drivers/media/test-drivers/visl/visl-dec.c | 292 ++++++++++++------ drivers/media/test-drivers/visl/visl.h | 1 + 5 files changed, 221 insertions(+), 111 deletions(-) -- 2.41.0