drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
authorjsg <jsg@openbsd.org>
Mon, 27 Mar 2023 04:14:57 +0000 (04:14 +0000)
committerjsg <jsg@openbsd.org>
Mon, 27 Mar 2023 04:14:57 +0000 (04:14 +0000)
From Darrell Kavanagh
2435156aa7681dd38717a190cfad053a079c22de in linux-6.1.y/6.1.16
38b2d8efd03d2e56431b611e3523f0158306451d in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 9737ad9..c12e3b9 100644 (file)
@@ -328,6 +328,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGL"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* Lenovo IdeaPad Duet 3 10IGL5 */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* Lenovo Yoga Book X90F / X91F / X91L */
                .matches = {
                  /* Non exact match to match all versions */