summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-02-02 03:54:43 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-02-02 03:54:43 +0000
commitac53b9423956edcfb159fbca25954f1cb2c3b26d (patch)
tree20a6a883c766e8a7b1b8ec58641fd8bce5751315 /sys/dev
parent0c03225fd8a9fd2677da6bb5d8d80cbe81eabd64 (diff)
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drm_panel_orientation_quirks.c6
1 files changed, 6 insertions, 0 deletions
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 */