From: jsg Date: Fri, 21 Apr 2023 03:40:34 +0000 (+0000) Subject: drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9bd226ac53ec51ec9a5b2c7c8ed0916b95953e56;p=openbsd drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F From Hans de Goede 1fe2ed70c054b141550d397685ca4c32a321c0ae in linux-6.1.y/6.1.25 03aecb1acbcd7a660f97d645ca6c09d9de27ff9d 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 c12e3b9add2..80ad94e3237 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -334,10 +334,17 @@ 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 Yoga Book X90F / X91F / X91L */ + }, { /* Lenovo Yoga Book X90F / X90L */ .matches = { - /* Non exact match to match all versions */ - DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"), + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, + }, { /* Lenovo Yoga Book X91F / X91L */ + .matches = { + /* Non exact match to match F + L versions */ + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"), }, .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Lenovo Yoga Tablet 2 830F / 830L */