drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
authorjsg <jsg@openbsd.org>
Thu, 27 Jan 2022 22:52:54 +0000 (22:52 +0000)
committerjsg <jsg@openbsd.org>
Thu, 27 Jan 2022 22:52:54 +0000 (22:52 +0000)
From Hans de Goede
c350fcc74035f48ee5a7226faee7079dd0ce9565 in linux 5.15.y/5.15.17
bc30c3b0c8a1904d83d5f0d60fb8650a334b207b in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 5b968a6..a21a1bb 100644 (file)
@@ -254,6 +254,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
                },
                .driver_data = (void *)&lcd1200x1920_rightside_up,
+       }, {    /* Lenovo Yoga Book X90F / X91F / X91L */
+               .matches = {
+                 /* Non exact match to match all versions */
+                 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* OneGX1 Pro */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),