drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
authorjsg <jsg@openbsd.org>
Fri, 19 Nov 2021 02:56:07 +0000 (02:56 +0000)
committerjsg <jsg@openbsd.org>
Fri, 19 Nov 2021 02:56:07 +0000 (02:56 +0000)
From Hans de Goede
780fff2c75f096f3bc46855b105b83b4cec5cba7 in linux 5.10.y/5.10.80
820a2ab23d5eab4ccfb82581eda8ad4acf18458f in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 17df8fc..cf9aabe 100644 (file)
@@ -229,10 +229,15 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo MIIX 320-10ICR"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
-       }, {    /* Lenovo Ideapad D330 */
+       }, {    /* Lenovo Ideapad D330-10IGM (HD) */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* Lenovo Ideapad D330-10IGM (FHD) */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "81H3"),
                  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
                },
                .driver_data = (void *)&lcd1200x1920_rightside_up,