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:v7.3-surface-develfrom
zR-JB:sp12-rear-camera-rotation
Open

zR-JB wants to merge 1 commit into
linux-surface:v7.3-surface-develfrom
zR-JB:sp12-rear-camera-rotation

Conversation

@zR-JB

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

Copy link
Copy Markdown

Firmware reports 0° for the OVTID858 rear sensor on the Surface Pro for Business 13in 12th Ed Intel, so the image appears upside down. Add the exact DMI model and sensor ID to the existing ipu-bridge rotation quirk table.

The original entry was tested on SP12 Intel: the rear image was upright at 180° and the front camera stayed at 0°. The same entry now applies on top of #170 in v7.3-surface-devel. The rebased module built with W=1 against CachyOS 7.3.4 headers. Hardware retest is pending.

Bring-up and test results: linux-surface/linux-surface#2144.

@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
@zR-JB
zR-JB force-pushed the sp12-rear-camera-rotation branch from 051512b to 8fc0667 Compare August 12, 2026 21:37
zR-JB pushed a commit to zR-JB/kernel that referenced this pull request Aug 12, 2026
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
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 <jan.baisch@protonmail.com>
Link: linux-surface#175
Patchset: cameras
@zR-JB
zR-JB force-pushed the sp12-rear-camera-rotation branch from 8fc0667 to 127d033 Compare November 14, 2026 08:43
@zR-JB
zR-JB changed the base branch from v6.19-surface-devel to v7.3-surface-devel November 14, 2026 08:44
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