From 127d033311410e296c3f94fdd324bc94f4e4549e Mon Sep 17 00:00:00 2001 From: Jan Baisch Date: Wed, 12 Aug 2026 21:12:14 +0200 Subject: [PATCH] media: ipu-bridge: fix rear camera rotation on Surface Pro 12 Intel Firmware reports zero rotation for the OVTID858 rear sensor on the Surface Pro for Business 13in 12th Ed Intel, so userspace displays the image upside down. Add the model and sensor to the existing rotation quirk table. The original entry was tested on the SP12 Intel: the rear image was upright at 180 degrees and the front camera stayed at zero degrees. Signed-off-by: Jan Baisch Link: https://github.com/linux-surface/kernel/pull/175 Patchset: cameras --- drivers/media/pci/intel/ipu-bridge.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c index 271b987660c5..fd350acbc993 100644 --- a/drivers/media/pci/intel/ipu-bridge.c +++ b/drivers/media/pci/intel/ipu-bridge.c @@ -217,6 +217,15 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = { }, .driver_data = "OVTID858", }, + { + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, + "Surface Pro for Business 13in 12th Ed Intel"), + }, + /* OVTID858 is the rear camera on this model. */ + .driver_data = "OVTID858", + }, {} /* Terminating entry */ };