From: syphyr <syphyr@gmail.com>
To: hdegoede@redhat.com, mchehab@kernel.org
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] media: pci: intel: ipu-bridge: Add rotation quirk for Dell XPS 14 DA14260
Date: Thu, 29 Oct 2026 22:46:11 +0100 [thread overview]
Message-ID: <999a1a5b-bc16-465c-93af-bbb5357b22a8@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
Hello,
I have isolated and resolved a hardware regression affecting the
OmniVision camera module on the newer Intel-based Dell XPS 14
configurations running under clean mainline kernels.
While testing against the upstream 7.2 release stack, applications
interacting directly with raw libcamera pipelines (such as qcam)
initialized successfully but rendered frames completely inverted.
Furthermore, the mismatch between physical mounting and the factory ACPI
SSDB buffer (which maps a hardcoded sensor rotation value of 0)
triggered an internal driver stack trace during the subsystem boot phase.
This patch introduces an explicit DMI motherboard vendor and board ID
matching rule ("0H2HX9") inside ipu_bridge_parse_ssdb() to override the
faulty ACPI metadata, setting the property value to 180 degrees natively
during initialization.
Testing confirms this entirely resolves the boot-time stack trace and
successfully stabilizes the webcam feed inside qcam at full native
frequency. Note that containerized/sandboxed GTK4 consumers under
Wayland (such as gnome-snapshot) still encounter separate userspace
format-negotiation deadlocks, but this patch successfully stabilizes the
underlying kernel-side topology baseline.
Please review for inclusion into the staging media-tree.
Best regards,
syphyr
[-- Attachment #2: 0001-media-pci-intel-ipu-bridge-Add-rotation-quirk-for-De.patch --]
[-- Type: text/x-patch, Size: 1654 bytes --]
From df0213da05f67567587841d5fe31691146ef486e Mon Sep 17 00:00:00 2001
From: syphyr <syphyr@gmail.com>
Date: Thu, 29 Oct 2026 02:40:42 +0100
Subject: [PATCH] media: pci: intel: ipu-bridge: Add rotation quirk for Dell
XPS 14 DA14260
The OmniVision OV08X40 camera sensor on the Dell XPS 14 DA14260 laptop
(motherboard board ID 0H2HX9) is physically mounted upside-down inside
the display bezel. However, the system's ACPI SSDB buffer hardcodes a
rotation value of 0, causing the open-source libcamera stack to render
the video stream inverted.
Introduce a targeted DMI matching quirk within ipu_bridge_parse_ssdb()
to intercept this specific motherboard signature. When matched, force
the sensor rotation property value to 180 degrees before initializing
the system topology nodes.
This corrects the inversion bug inside qcam at native link frequencies
and resolves an internal driver stack trace encountered during bootup when
parsing unaligned ACPI properties.
Signed-off-by: syphyr <syphyr@gmail.com>
---
drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c
index 510c0eca4484..5bb9f6449fe7 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -134,6 +134,13 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
},
.driver_data = "OVTI02C1",
},
+ {
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 14 DA14260"),
+ },
+ .driver_data = "OVTI08F4",
+ },
{} /* Terminating entry */
};
--
2.53.0
reply other threads:[~2026-10-29 21:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=999a1a5b-bc16-465c-93af-bbb5357b22a8@gmail.com \
--to=syphyr@gmail.com \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/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®