drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
authorHans de Goede <hdegoede@redhat.com>
Wed, 1 Mar 2023 09:52:18 +0000 (10:52 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 21 Mar 2023 10:40:04 +0000 (11:40 +0100)
commit03aecb1acbcd7a660f97d645ca6c09d9de27ff9d
treeab66cff2572a19877a1bfead1e4ed5818c598699
parent4028cbf867f70a3c599c9b0c9509334c56ed97d7
drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F

Like the Windows Lenovo Yoga Book X91F/L the Android Lenovo Yoga Book
X90F/L has a portrait 1200x1920 screen used in landscape mode,
add a quirk for this.

When the quirk for the X91F/L was initially added it was written to
also apply to the X90F/L but this does not work because the Android
version of the Yoga Book uses completely different DMI strings.
Also adjust the X91F/L quirk to reflect that it only applies to
the X91F/L models.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230301095218.28457-1-hdegoede@redhat.com
drivers/gpu/drm/drm_panel_orientation_quirks.c