drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
authorjsg <jsg@openbsd.org>
Fri, 19 Nov 2021 02:59:07 +0000 (02:59 +0000)
committerjsg <jsg@openbsd.org>
Fri, 19 Nov 2021 02:59:07 +0000 (02:59 +0000)
From Hans de Goede
62b90d7eeb6deb0124dcfe1b12f41c1524d26352 in linux 5.10.y/5.10.80
a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index cf9aabe..8f12563 100644 (file)
@@ -211,6 +211,13 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "KALAP10D300EA"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* KD Kurio Smart C15200 2-in-1 */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "KD Interactive"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Kurio Smart"),
+                 DMI_EXACT_MATCH(DMI_BOARD_NAME, "KDM960BCP"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
        }, {    /*
                 * Lenovo Ideapad Miix 310 laptop, only some production batches
                 * have a portrait screen, the resolution checks makes the quirk