drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go
authorjsg <jsg@openbsd.org>
Mon, 8 Apr 2024 01:56:20 +0000 (01:56 +0000)
committerjsg <jsg@openbsd.org>
Mon, 8 Apr 2024 01:56:20 +0000 (01:56 +0000)
From Brenton Simpson
430143b0d3611f4a9c8434319e5e504244749e79 in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 434ee4b..292165c 100644 (file)
@@ -342,6 +342,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
                },
                .driver_data = (void *)&lcd1200x1920_rightside_up,
+       }, {    /* Lenovo Legion Go 8APU1 */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Legion Go 8APU1"),
+               },
+               .driver_data = (void *)&lcd1600x2560_leftside_up,
        }, {    /* Lenovo Yoga Book X90F / X90L */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),