]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
efi: sysfb_efi: Extend quirk to cover IdeaPad Duet 3 10IGL5-LTE
authorMarius Hoch <mail@mariushoch.de>
Sun, 17 May 2026 19:23:40 +0000 (21:23 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 19 May 2026 15:27:15 +0000 (17:27 +0200)
The LTE enabled version of the IdeaPad Duet 3 10IGL5 needs the
same quirk as the non-LTE version. As these are the only two
IdeaPad Duet 3 10IGL5 versions, we can safely use non exact matching.

Tested on a IdeaPad Duet 3 10IGL5-LTE.

Signed-off-by: Marius Hoch <mail@mariushoch.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/sysfb_efi.c

index 4c3986ddcd54a9e986dc7be318c578de08830e38..685283bb7327ad803b1ccb5cc5d54799eb3c2b0a 100644 (file)
@@ -311,11 +311,14 @@ static const struct dmi_system_id efifb_dmi_swap_width_height[] __initconst = {
                .callback = efifb_swap_width_height,
        },
        {
-               /* Lenovo IdeaPad Duet 3 10IGL5 with 1200x1920 portrait screen */
+               /*
+                * Lenovo IdeaPad Duet 3 10IGL5 and 10IGL5-LTE with
+                * 1200x1920 portrait screen
+                */
                .matches = {
                        DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                       DMI_EXACT_MATCH(DMI_PRODUCT_VERSION,
-                                       "IdeaPad Duet 3 10IGL5"),
+                       /* Non exact match to also match the LTE version */
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
                },
                .callback = efifb_swap_width_height,
        },