On Thu Sep 17 14:45:35 2026 +0000, Sergey Lebedev wrote:
> The Microsoft Surface Pro for Business 11th Edition with Intel mounts
> its OV13858 rear sensor rotated 180 degrees, but reports a rotation of
> 0 in its SSDB and has no matching _PLD, so without a DMI quirk the
> image is presented upside down.
> 
> Add a DMI quirk entry for this model so that a rotation of 180 degrees
> is reported for its OVTID858 sensor.
> 
> Tested on the affected machine: camera_sensor_rotation reads 180 and
> libcamera reports Rotation = 180. Confirmed independently on a second
> machine of the same model, where GNOME Snapshot and Firefox present
> the image the right way up once the quirk is applied; qcam, which
> talks to libcamera directly, does not.
> 
> Signed-off-by: Sergey Lebedev <[email protected]>
> Tested-by: German Pablo Lindo <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 drivers/media/pci/intel/ipu-bridge.c | 8 ++++++++
 1 file changed, 8 insertions(+)

---

diff --git a/drivers/media/pci/intel/ipu-bridge.c 
b/drivers/media/pci/intel/ipu-bridge.c
index e39697335c92..77257311d1d8 100644
--- a/drivers/media/pci/intel/ipu-bridge.c
+++ b/drivers/media/pci/intel/ipu-bridge.c
@@ -217,6 +217,14 @@ static const struct dmi_system_id 
upside_down_sensor_dmi_ids[] = {
                },
                .driver_data = "SONY471A",
        },
+       {
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Microsoft 
Corporation"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME,
+                                       "Surface Pro for Business 11th Edition 
with Intel"),
+               },
+               .driver_data = "OVTID858",
+       },
        {
                /* Samsung Galaxy Book5 Pro 360 */
                .matches = {
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to