From: Manuel Knitza <manuel.knitza@googlemail.com>
To: gvozdoder@gmail.com
Cc: sakari.ailus@linux.intel.com, miguel.vadillo@intel.com,
linux-media@vger.kernel.org,
Manuel Knitza <manuel.knitza@googlemail.com>
Subject: Re: [PATCH v3] media: ipu-bridge: do not use the CVS device lookup for IVSC
Date: Sat, 12 Sep 2026 20:58:32 +0200 [thread overview]
Message-ID: <20260912185836.309071-1-manuel.knitza@googlemail.com> (raw)
In-Reply-To: <20260902211524.5572-1-gvozdoder@gmail.com>
The CVS side of the same commit breaks cameras too, in the mirror image of
what this patch fixes, and I think it is the "separate series" you mention.
Dell XPS 16 DA16260, Panther Lake, IPU7, ov08x40 behind a CVS device
(INTC10E1). 7.1.8 works, 7.2 does not:
/sys/kernel/debug/devices_deferred:
i2c-OVTI08F4:00 ov08x40: waiting for fwnode graph endpoint
No sensor entity in /dev/media0, no subdev, no camera in userspace.
Traced to the same commit you cite, c6b1b34b5090 - not by bisect, by
diffing ipu-bridge.c between v7.1.8 and v7.2.3: it adds
INTC10DE/INTC10E0/INTC10E1 to ivsc_acpi_ids[] and touches nothing else in
that file.
Your reasoning for keeping the fallbacks for CVS is
CVS binds a driver to the ACPI device itself, so matching on the
companion stays unambiguous there.
The match is indeed unambiguous. The problem is what is bound. On this
machine the driver on that i2c device is Intel's out-of-tree intel_cvs
(from intel/vision-drivers), and it provides only ownership arbitration and
firmware update - no CSI-2 subdevice. ipu_bridge_instantiate_ivsc()
attaches the software node to it and reports success, so the sensor's graph
terminates at a device that offers no endpoint, and the sensor waits
forever. There is no in-tree CVS driver to take that role.
So the lookup finds the right device and the wrong kind of device. Skipping
the three CVS IDs in ipu_bridge_get_ivsc_acpi_dev() restores the 7.1
behaviour with everything else unchanged:
bind ov08x40 17-0036 nlanes is 2 port is 0
All sensor registration completed.
Sensor and CSI-2 link back in the media graph, real frames, and it survives
s2idle suspend/resume. Tested on 7.2.3, stock and Panther-Lake kernels
alike; both carry identical ipu-bridge source.
That is only a workaround - it disables CVS support wholesale, which is not
what anyone wants. The shape of a real fix is presumably the separation you
already named: take the CVS path only when something is bound that actually
provides the CSI-2 subdevice, rather than on an ACPI ID match. Gating on a
bound driver would also cover the ACPI half of the same conversion,
c28527ce5d06, where a dependency on an unclaimed supplier blocks
enumeration outright - kernel bugzilla 221988.
I am happy to test patches; this machine reproduces both the failure and
the fix on demand, and I can build and boot either kernel quickly.
Reports with the details, if useful:
https://bugzilla.kernel.org/show_bug.cgi?id=221988 (comments 9 and 10)
https://github.com/intel/ipu7-drivers/issues/102
https://github.com/omacom/omarchy/issues/10948
Assisted-by: Claude Code:claude-opus-5
next prev parent reply other threads:[~2026-09-12 18:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 21:15 [PATCH v3] media: ipu-bridge: do not use the CVS device lookup for IVSC Sergey Zagursky
2026-09-12 18:58 ` Manuel Knitza [this message]
2026-09-13 9:37 ` Junjie Cao
2026-09-13 12:59 ` Junjie Cao
2026-09-14 7:41 ` Manuel Knitza
2026-09-14 9:36 ` Junjie Cao
2026-09-14 4:32 ` Thorsten Leemhuis
2026-09-14 10:11 ` Sakari Ailus
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=20260912185836.309071-1-manuel.knitza@googlemail.com \
--to=manuel.knitza@googlemail.com \
--cc=gvozdoder@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=miguel.vadillo@intel.com \
--cc=sakari.ailus@linux.intel.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