media: ipu-bridge: Add DMI information of Lenovo X9 to the image upside-down list

The Lenovo X9 has an upside-down-mounted Sony IMX471 sensor so the image
was displayed upside-down. Add the DMI information of Lenovo X9 to
resolve the issue.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
Kate Hsuan
2026-06-29 03:40:23 -04:00
committed by Sakari Ailus
parent 8dac27bfa2
commit f4a018ea58

View File

@@ -134,6 +134,45 @@ static const struct dmi_system_id upside_down_sensor_dmi_ids[] = {
},
.driver_data = "OVTI02C1",
},
/*
* The first four characters of DMI_BOARD_NAME identify the Lenovo
* machine type/model. For example, a DMI_BOARD_NAME starting with
* "21Q6" indicates a ThinkPad X9-15.
*
* Reference: https://psref.lenovo.com/
*/
{
/* Lenovo X9-14 */
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_BOARD_NAME, "21QA"),
},
.driver_data = "SONY471A",
},
{
/* Lenovo X9-14 */
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_BOARD_NAME, "21QB"),
},
.driver_data = "SONY471A",
},
{
/* Lenovo X9-15 */
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_BOARD_NAME, "21Q6"),
},
.driver_data = "SONY471A",
},
{
/* Lenovo X9-15 */
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_BOARD_NAME, "21Q7"),
},
.driver_data = "SONY471A",
},
{} /* Terminating entry */
};