drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5

Darrell Kavanagh darrell.kavanagh at gmail.com
Fri Feb 3 18:32:11 UTC 2023


Hi,

This is another Lenovo with detachable keyboard and 1200x1920 screen
mounted sideways.

The following has been tested with 6.2.0-rc6.

Thanks,
Darrell

index 3659f04..590bb7b 100644
--- a/kernel/drm_panel_orientation
_quirks.c
+++ b/kernel/linux-6.2-rc6/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -304,6 +304,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 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 Ideapad D330-10IGL (HD) */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),


More information about the dri-devel mailing list