[SRU][R][PATCH 0/1] Fix Dell XPS 13 9340/14 9440 camera image upside down

Yufeng Gao yufeng.gao at canonical.com
Thu Oct 8 06:57:58 UTC 2026


BugLink: https://bugs.launchpad.net/bugs/2169185

[Impact]
On the Dell XPS 13 9340 and XPS 14 9440, OV02C10 camera image is upside down.
The sensor is mounted upside down and the firmware does not report the rotation.
libcamera reports "Rotation = 0".

The SAUCE patch 9cb88f2bb76d ("UBUNTU: SAUCE: media: ipu-bridge: correct
platform handling for DELL Pro 14 Premium PA14260", LP: #2155837) changed
the driver_data of upside_down_sensor_dmi_ids[] from a string to a struct
upside_down_match_info pointer. It convered all the entries but the 9340
and 9440 ones.

ipu_bridge_parse_rotation() then reads the string bytes "OVTI" as
match->type which is not valid and therefore the 180 degree rotation is not
applied.

[Fix]
Convert the XPS 13 9340 and XPS 14 9440 entries to struct upside_down_match_info.

[Test Plan]
On a Dell XPS 13 9340 or XPS 14 9440 run cam -p and check for Rotation = 180.
The image should also not be rotated by 180 degrees anymore. Compile tested.

[Where problems could occur]
The change only affects the XPS 13 9340 and XPS 14 9440 DMI entries.
This is a SAUCE patch as it fixes the previous SAUCE patch to convert all
entries into the new format.

Yufeng Gao (1):
  UBUNTU: SAUCE: media: ipu-bridge: fix rotation quirk for XPS 13
    9340/14 9440

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

-- 
2.43.0




More information about the kernel-team mailing list