media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 (Intel) - #175
Open
zR-JB wants to merge 1 commit into
Open
media: intel/ipu-bridge: fix rear camera rotation on Surface Pro 12 (Intel)#175zR-JB wants to merge 1 commit into
zR-JB wants to merge 1 commit into
Conversation
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
force-pushed
the
sp12-rear-camera-rotation
branch
from
August 12, 2026 21:37
051512b to
8fc0667
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-bridgetherefore exposes a rotation of 0° and userspace displays the camera upside down.Add the tested Surface Pro 12 Intel DMI identity and
OVTID858to 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.
OVTID858/ OV13858 rotation: 180°The rear camera probes and streams successfully with the existing linux-surface OV13858 support.
Related work: #170 adds an equivalent
OVTID858rotation 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