From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Ricardo Ribalda Delgado <ribalda@kernel.org>
Cc: "André Apitzsch" <git@apitzsch.eu>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Dave Stevenson" <dave.stevenson@raspberrypi.com>,
sakari.ailus@iki.fi
Subject: Re: [PATCH v2 09/13] media: i2c: imx214: Extract format and crop settings
Date: Fri, 22 Nov 2024 10:43:16 +0000 [thread overview]
Message-ID: <Z0BgRIlK-Tdcm8AV@kekkonen.localdomain> (raw)
In-Reply-To: <CAPybu_2xPkrL=jTT0O_10KuCgyfe3BU033Y+q2+jq9ErPU9ACA@mail.gmail.com>
Hi Ricardo,
On Wed, Nov 20, 2024 at 10:22:54PM +0100, Ricardo Ribalda Delgado wrote:
> Hi André
>
> On Wed, Nov 20, 2024 at 9:07 PM André Apitzsch <git@apitzsch.eu> wrote:
> >
> > Hi Ricardo,
> >
> > Am Mittwoch, dem 30.10.2024 um 13:10 +0100 schrieb Ricardo Ribalda
> > Delgado:
> > > Hi
> > >
> > > Aren't you changing the binning mode for 1920x1080 with this patch?
> > > I think that could be considered an ABI change.
> >
> > Is the problem that the ABI changes or that it is not mentioned in the
> > commit message?
>
> I think it is a combination of both. There will be products out there
> that after applying this change will get different frames using the
> same configuration.
>
> @Sakari Ailus What do we usually do in these cases?
Good question. Always when something is changed in the UAPI there's a
chance for breakages and these are a big no-no, at least in principle.
Keeping the old behaviour in place is how you generally can avoid breakages
but this has its issues, too.
We're in the process to make changes to the sensor APIs in general,
while old drivers would need to maintain current functionality. See
<20241122100633.8971-1-sakari.ailus@linux.intel.com> on LMML.
Ricardo: I'll cc you to the next version.
>
> > >
> > > Also, if we are not letting the user change the value, I do not see
> > > much value in setting the cropping programmatically, I'd rather not
> > > take this change.
> >
> > I assume the first "value" refers to "binning value", that cannot be
> > changed by the user. Is it right, that .set_selection needs to be
> > implemented to change that?
>
> I believe set_selection is the correct way, yes. Sakari again to keep
> me honest :)
Please see the RFC set.
--
Kind regards,
Sakari Ailus
next prev parent reply other threads:[~2024-11-22 10:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-20 22:13 [PATCH v2 00/13] media: i2c: imx214: Miscellaneous cleanups and improvements André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 01/13] media: i2c: imx214: Fix link frequency André Apitzsch via B4 Relay
2024-10-30 11:25 ` Ricardo Ribalda Delgado
2024-11-01 9:09 ` Sakari Ailus
2024-10-20 22:13 ` [PATCH v2 02/13] media: i2c: imx214: Use subdev active state André Apitzsch via B4 Relay
2024-10-30 11:36 ` Ricardo Ribalda Delgado
2024-12-01 18:41 ` André Apitzsch
2024-10-20 22:13 ` [PATCH v2 03/13] media: i2c: imx214: Simplify with dev_err_probe() André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 04/13] media: i2c: imx214: Convert to CCI register access helpers André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 05/13] media: i2c: imx214: Replace register addresses with macros André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 06/13] media: i2c: imx214: Drop IMX214_REG_EXPOSURE from mode reg arrays André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 07/13] media: i2c: imx214: Check number of lanes from device tree André Apitzsch via B4 Relay
2024-10-30 11:38 ` Ricardo Ribalda Delgado
2024-10-30 21:17 ` André Apitzsch
2024-10-20 22:13 ` [PATCH v2 08/13] media: i2c: imx214: Add vblank and hblank controls André Apitzsch via B4 Relay
2024-10-30 11:57 ` Ricardo Ribalda Delgado
2024-10-20 22:13 ` [PATCH v2 09/13] media: i2c: imx214: Extract format and crop settings André Apitzsch via B4 Relay
2024-10-30 12:10 ` Ricardo Ribalda Delgado
2024-11-20 20:07 ` André Apitzsch
2024-11-20 21:22 ` Ricardo Ribalda Delgado
2024-11-22 10:43 ` Sakari Ailus [this message]
2024-12-01 18:23 ` André Apitzsch
2024-10-20 22:13 ` [PATCH v2 10/13] media: i2c: imx214: Implement vflip/hflip controls André Apitzsch via B4 Relay
2024-10-30 12:13 ` Ricardo Ribalda Delgado
2024-10-20 22:13 ` [PATCH v2 11/13] media: i2c: imx214: Add analogue/digital gain control André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 12/13] media: i2c: imx214: Verify chip ID André Apitzsch via B4 Relay
2024-10-20 22:13 ` [PATCH v2 13/13] media: i2c: imx214: Add test pattern control André Apitzsch via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z0BgRIlK-Tdcm8AV@kekkonen.localdomain \
--to=sakari.ailus@linux.intel.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=git@apitzsch.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=ribalda@kernel.org \
--cc=sakari.ailus@iki.fi \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®