Skip to content

Commit 5ed213d

Browse files
jwrdegoedeardbiesheuvel
authored andcommitted
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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 3615c78 commit 5ed213d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/firmware/efi/sysfb_efi.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,14 @@ static const struct dmi_system_id efifb_dmi_swap_width_height[] __initconst = {
272272
"IdeaPad Duet 3 10IGL5"),
273273
},
274274
},
275+
{
276+
/* Lenovo Yoga Book X91F / X91L */
277+
.matches = {
278+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
279+
/* Non exact match to match F + L versions */
280+
DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"),
281+
},
282+
},
275283
{},
276284
};
277285

0 commit comments

Comments
 (0)