drm: Add orientation quirk for Lenovo ideapad D330-10IGL
authorjsg <jsg@openbsd.org>
Thu, 2 Feb 2023 03:54:42 +0000 (03:54 +0000)
committerjsg <jsg@openbsd.org>
Thu, 2 Feb 2023 03:54:42 +0000 (03:54 +0000)
From Patrick Thompson
68f5d286aa3def44086d8f4e59f8e950dd1f2075 in linux-6.1.y/6.1.9
0688773f0710528e1ab302c3d6317e269f2e2e6e in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 53860d1..e1aa594 100644 (file)
@@ -310,6 +310,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 Ideapad D330-10IGL (HD) */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGL"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
        }, {    /* Lenovo Yoga Book X90F / X91F / X91L */
                .matches = {
                  /* Non exact match to match all versions */