On 26/10/2021 15:32, Jacopo Mondi wrote:
Hi Tomi,
On Tue, Oct 26, 2021 at 02:54:45PM +0300, Tomi Valkeinen wrote:
Hi Hans,
On 11/10/2021 18:29, Hans Verkuil wrote:
Hi Tomi,
On 05/10/2021 10:57, Tomi Valkeinen wrote:
Hi,
This is v9 of the multiplexed streams series. v8 can be found from:
https://lore.kernel.org/all/20210830110116.488338-1-tomi.valkeinen@xxxxxxxxxxxxxxxx/
I have pushed my work branch to:
git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git multistream/work-v9
which contains the patches in this series, along with subdev drivers
using multiplexed streams.
As can be guessed from the work branch, I have been testing this series
with TI's FPDLink setup. I have also done a "backwards compatibility"
test by dropping all multiplexed streams patches from the CAL driver
(the CSI-2 RX on the TI SoC), and using the FPDLink drivers with
single-stream configuration.
I hope to look at this series this week (fingers crossed), but I was asked to
give some input w.r.t. testing of this series:
Thanks for the reviews! I'll start updating the series accordingly.
I think before this can be merged we need:
1) libcamera tests. Since libcamera would probably be the most active user of this
API, and you have HW for it, it makes a lot of sense that there are decent tests
for the supported HW in libcamera. That takes care of the real-world tests.
I agree, libcamera would be a good userspace test. Laurent has been working
on that.
2) obviously the existing utils in v4l-utils need to be adapted to understand any
new API elements.
Yes. I think it's "just" two things that are needed: ability to set a
routing table (that might be quite messy via the cmdline for larger routing
tables) and ability to set format and other parameters with a (pad,stream)
tuple, instead of just pad.
For testing my series I have sketeched out
https://git.sr.ht/~jmondi_/v4l2-utils
I can work to make the patches there upstreamable
Thanks, that would be great! I haven't tested your patches yet, but with
a quick glance, looks good. The other options also need the stream
parameter.
There's also media-ctl. It's not quite clear to me what we should have
in media-ctl and what in v4l2-ctl.
Tomi