From: jsg Date: Thu, 27 Jan 2022 22:52:54 +0000 (+0000) Subject: drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c3682f67ae05dcd7a807e931fbda3cf7d21435cc;p=openbsd drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L From Hans de Goede c350fcc74035f48ee5a7226faee7079dd0ce9565 in linux 5.15.y/5.15.17 bc30c3b0c8a1904d83d5f0d60fb8650a334b207b 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 5b968a6727e..a21a1bbfa4c 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -254,6 +254,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 Yoga Book X90F / X91F / X91L */ + .matches = { + /* Non exact match to match all versions */ + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* OneGX1 Pro */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),