Skip to contentSkip to conversation

media: ipu-bridge: Add upside-down sensor quirk for Dell XPS 16 DA16260

PATCH New Kate Hsuan 1 participant 1 message Nov 2 Media (V4L/DVB)

lore
Share & tools
lore

Kate Hsuan

author
#0 lore raw

PATCH 1/1 media: ipu-bridge: Add upside-down sensor quirk for Dell XPS 16 DA16260

On the Dell XPS 16 DA16260, the OVTI08F4 image sensor is mounted upside-down, causing captured video streams to be displayed upside-down. Add a DMI quirk entry for this model to report the correct sensor orientation to userspace, resolving upside-down image display.

---
 drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/media/pci/intel/ipu-bridge.c +7 -0
index 3739c4a2a8c4..1a6f41ee3667 100644
@@ -191,6 +191,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 16 DA16260"),
+		},
+		.driver_data = "OVTI08F4",
+	},
 	/*
 	 * The first four characters of DMI_BOARD_NAME identify the Lenovo
 	 * machine type/model. For example, a DMI_BOARD_NAME starting with
Signature · 1 line
2.55.0