From: jsg Date: Fri, 19 Nov 2021 02:59:07 +0000 (+0000) Subject: drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5f285dbf086db16668b4b5368b5e97aea794b30b;p=openbsd drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1 From Hans de Goede 62b90d7eeb6deb0124dcfe1b12f41c1524d26352 in linux 5.10.y/5.10.80 a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 in mainline linux --- diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c index cf9aabe75b5..8f12563fdb9 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -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