diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-03-14 13:31:03 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-03-18 11:44:57 +0100 |
commit | 5ed213dd64681f84a01ceaa82fb336cf7d59ddcf (patch) | |
tree | 1358a617c45f7fed521bf28358f883de6a5a2a09 /drivers/firmware/efi/sysfb_efi.c | |
parent | 3615c78673c332b69aaacefbcde5937c5c706686 (diff) | |
download | linux-5ed213dd64681f84a01ceaa82fb336cf7d59ddcf.tar.gz linux-5ed213dd64681f84a01ceaa82fb336cf7d59ddcf.tar.bz2 linux-5ed213dd64681f84a01ceaa82fb336cf7d59ddcf.zip |
efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
Another Lenovo convertable which reports a landscape resolution of
1920x1200 with a pitch of (1920 * 4) bytes, while the actual framebuffer
has a resolution of 1200x1920 with a pitch of (1200 * 4) bytes.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/sysfb_efi.c')
-rw-r--r-- | drivers/firmware/efi/sysfb_efi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/firmware/efi/sysfb_efi.c b/drivers/firmware/efi/sysfb_efi.c index e76d6803bdd0..456d0e5eaf78 100644 --- a/drivers/firmware/efi/sysfb_efi.c +++ b/drivers/firmware/efi/sysfb_efi.c @@ -272,6 +272,14 @@ static const struct dmi_system_id efifb_dmi_swap_width_height[] __initconst = { "IdeaPad Duet 3 10IGL5"), }, }, + { + /* Lenovo Yoga Book X91F / X91L */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"), + /* Non exact match to match F + L versions */ + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"), + }, + }, {}, }; |