From: jsg Date: Thu, 2 Feb 2023 03:54:42 +0000 (+0000) Subject: drm: Add orientation quirk for Lenovo ideapad D330-10IGL X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=612776be82d9bfc1e3b523c4f8da081c49b8aec2;p=openbsd drm: Add orientation quirk for Lenovo ideapad D330-10IGL From Patrick Thompson 68f5d286aa3def44086d8f4e59f8e950dd1f2075 in linux-6.1.y/6.1.9 0688773f0710528e1ab302c3d6317e269f2e2e6e 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 53860d1161a..e1aa59449f5 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -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 */