[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230405023048.GD9915@pendragon.ideasonboard.com>
Date: Wed, 5 Apr 2023 05:30:48 +0300
From: Laurent Pinchart <laurent.pinchart@...asonboard.com>
To: Luca Ceresoli <luca.ceresoli@...tlin.com>
Cc: Hans Verkuil <hverkuil-cisco@...all.nl>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Sowjanya Komatineni <skomatineni@...dia.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Dmitry Osipenko <digetx@...il.com>,
linux-media@...r.kernel.org, linux-tegra@...r.kernel.org,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-staging@...ts.linux.dev,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Paul Kocialkowski <paul.kocialkowski@...tlin.com>,
Richard Leitner <richard.leitner@...data.com>
Subject: Re: [RESEND PATCH v4 03/21] staging: media: tegra-video: fix
.vidioc_enum_fmt_vid_cap to return all formats
Hi Luca,
On Tue, Apr 04, 2023 at 04:12:51PM +0200, Luca Ceresoli wrote:
> On Wed, 29 Mar 2023 13:16:22 +0200 Hans Verkuil wrote:
>
> > Hi Luca,
> >
> > I finally found the time to test this series. It looks OK, except for this patch.
>
> Thank you very much for taking the time!
>
> > The list of supported formats really has to be the intersection of what the tegra
> > supports and what the sensor supports.
> >
> > Otherwise you would advertise pixelformats that cannot be used, and the application
> > would have no way of knowing that.
>
> As far as I understand, I think we should rather make this driver fully
> behave as an MC-centric device. It is already using MC quite
> successfully after all.
>
> Do you think this is correct?
Given the use cases for this driver, I agree.
> If you do, then I think the plan would be:
>
> - Add the V4L2_CAP_IO_MC flag
> - As the mbus_code in get_format appropriately
> - Leave the changes in this patch unmodified otherwise
--
Regards,
Laurent Pinchart
Powered by blists - more mailing lists