Linux Media Controller development
 help / color / mirror / Atom feed
From: Marco Ziliani <rylos78@gmail.com>
To: Tony Garcia <tony@loafecho.com>
Cc: Daniel Scally <dan.scally@ideasonboard.com>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org, Chris Simpson <chris@nilk.net>,
	Simon Kruse <simon0x+git@proton.me>,
	"D . Manresa" <dmanresa@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/4] media: i2c: ov5693: Fix mode changes, flips and autosuspend
Date: Thu,  3 Dec 2026 18:47:59 +0100	[thread overview]
Message-ID: <20261203174759.58380-1-rylos78@gmail.com> (raw)
In-Reply-To: <listreply-76b57ee473a13c274b13@loafecho.com>

Hi Tony,

On Tue, Dec 01, 2026 at 05:17:49PM +0000, Tony Garcia wrote:
> VIDIOC_SUBDEV_S_FMT with which=TRY oopses with a divide error in
> ov5693_set_fmt(), e.g. "v4l2-ctl -d /dev/v4l-subdevN --try-subdev-fmt
> pad=0,width=1296,height=972".

Thanks a lot for testing v3 so thoroughly, and for this one. Your
analysis is right: with no init_state the try crop is 0x0. v4 will add
an init_state that sets the default crop and format, as a separate
patch at the start of the series with your Reported-by, so it can also
go to stable on its own. With it, --try-subdev-fmt returns the clamped
format here on the Surface Pro 5 instead of oopsing.

v4 will also fix one edge case in patch 3: with a full-width crop that
already reaches the right edge of the pixel array and a single flip,
the window couldn't be widened and the stream broke. It now moves the
crop start two columns to the left instead.

I'll send v4 once Sakari and Dan have had a chance to look at v3.

Thanks,
Marco

      reply	other threads:[~2026-12-03 17:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 23:11 [PATCH v3 0/4] media: i2c: ov5693: Fix mode changes, flips and autosuspend Marco Ziliani
2026-11-27 23:11 ` [PATCH v3 1/4] media: i2c: ov5693: Keep driver-managed registers out of the global list Marco Ziliani
2026-11-27 23:11 ` [PATCH v3 2/4] media: i2c: ov5693: Write format and crop changes to a powered sensor Marco Ziliani
2026-11-27 23:11 ` [PATCH v3 3/4] media: i2c: ov5693: Keep the Bayer order when flipping at full resolution Marco Ziliani
2026-11-27 23:11 ` [PATCH v3 4/4] media: i2c: ov5693: Use autosuspend when stopping the stream Marco Ziliani
2026-12-01 17:17 ` [PATCH v3 0/4] media: i2c: ov5693: Fix mode changes, flips and autosuspend Tony Garcia
2026-12-03 17:47   ` Marco Ziliani [this message]

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=20261203174759.58380-1-rylos78@gmail.com \
    --to=rylos78@gmail.com \
    --cc=chris@nilk.net \
    --cc=dan.scally@ideasonboard.com \
    --cc=dmanresa@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=simon0x+git@proton.me \
    --cc=tony@loafecho.com \
    /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