Skip to content

media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 (Intel) - #175

Open
zR-JB wants to merge 1 commit into
linux-surface:v6.19-surface-develfrom
zR-JB:sp12-rear-camera-rotation
Open

media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 (Intel)#175
zR-JB wants to merge 1 commit into
linux-surface:v6.19-surface-develfrom
zR-JB:sp12-rear-camera-rotation

Conversation

@zR-JB

@zR-JB zR-JB commented Aug 12, 2026

Copy link
Copy Markdown

Summary

Fix the mounting rotation reported for the OVTID858 / OV13858 rear camera on Surface Pro 12 Intel.

On the tested Surface Pro for Business 13in 12th Ed Intel, the rear sensor is physically mounted with a 180° rotation, but its firmware metadata reports the normal orientation. ipu-bridge therefore exposes a rotation of 0° and userspace displays the camera upside down.

Add the tested Surface Pro 12 Intel DMI identity and OVTID858 to the existing upside-down sensor quirk table. This corrects the mounting metadata only; it does not rotate image data or alter OV13858 register programming.

Testing

Tested on Surface Pro 12 for BusinessIntel.

  • Rear OVTID858 / OV13858 rotation: 180°
  • Front camera rotation: 0°
  • Rear camera displayed upright in userspace

The rear camera probes and streams successfully with the existing linux-surface OV13858 support.

Related work: #170 adds an equivalent OVTID858 rotation quirk for Surface Pro 9 and fixes handling of multiple sensor-rotation quirks for the same machine. This SP12 entry is independent of that parser change on the current Surface Pro 12 configuration.

Related Surface Pro 12 enablement tracking: linux-surface/linux-surface#2144.

Related Surface Pro 12 camera work

@zR-JB zR-JB changed the title media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 Intel Aug 12, 2026
@zR-JB zR-JB changed the title media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 Intel media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 (Intel) Aug 12, 2026
@zR-JB
zR-JB marked this pull request as ready for review August 12, 2026 21:15
The OV13858 rear camera on the Surface Pro for Business 13in 12th Ed Intel is physically mounted with a 180-degree rotation, but its OVTID858 firmware metadata reports the normal orientation.

As a result, ipu-bridge exports zero-degree sensor rotation and userspace displays the rear camera upside down.

Add an OVTID858 entry for the tested Surface Pro 12 Intel DMI identity to the existing upside-down sensor quirk table.

This only corrects the mounting metadata exposed to userspace. It does not rotate image data or alter sensor register programming.

Tested on Surface Pro 12 Intel: the rear camera reports 180-degree rotation and is displayed upright, while the front camera remains at 0 degrees.

Signed-off-by: Jan Baisch <jan.baisch@protonmail.com>
Link: linux-surface#175
Patchset: cameras
@zR-JB
zR-JB force-pushed the sp12-rear-camera-rotation branch from 051512b to 8fc0667 Compare August 12, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant