From: jsg Date: Mon, 27 Mar 2023 04:14:57 +0000 (+0000) Subject: drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=242671a65098cdcaadd73e8531ffff40f65f2bc7;p=openbsd drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5 From Darrell Kavanagh 2435156aa7681dd38717a190cfad053a079c22de in linux-6.1.y/6.1.16 38b2d8efd03d2e56431b611e3523f0158306451d 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 9737ad9a0a7..c12e3b9add2 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -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 */