Re: [PATCH] media: ipu-bridge: Add upside-down sensor quirk for Dell 16 Premium DA16250

From: Sakari Ailus

Date: Thu Apr 02 2026 - 12:52:11 EST


Hi Lukas,

Thanks for the patch.

On Tue, Mar 31, 2026 at 09:01:43PM +0200, Lukas Larson wrote:
> On the Dell 16 Premium DA16250 laptop, the camera sensor (OVTI02C1) is
> mounted upside-down, resulting in a flipped image in userspace
> applications.
>
> Add this model to the upside_down_sensor_dmi_ids list to provide the
> necessary 180-degree rotation quirk so the image is oriented correctly.

Could you try if these
<URL:https://git.linuxtv.org/sailus/media_tree.git/log/?h=pld> fix your
issue as well?

There are a bunch of Dell laptops with this sensor and only some of them
need this quirk...

>
> Signed-off-by: Lukas Larson <lukaslarson@xxxxxxxxx>
> ---
> drivers/media/pci/intel/ipu-bridge.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c
> index 32cc95a766b7..ec2056c268de 100644
> --- a/drivers/media/pci/intel/ipu-bridge.c
> +++ b/drivers/media/pci/intel/ipu-bridge.c
> @@ -104,6 +104,13 @@ static const struct ipu_sensor_config ipu_supported_sensors[] = {
> * without reporting a rotation of 180° in neither the SSDB nor the _PLD.
> */
> static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
> + {
> + .matches = {
> + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Dell 16 Premium DA16250"),
> + },
> + .driver_data = "OVTI02C1",
> + },
> {
> .matches = {
> DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),

--
Kind regards,

Sakari Ailus