Skip to content

Commit

Permalink
firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
Browse files Browse the repository at this point in the history
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: Darrell Kavanagh <darrell.kavanagh@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
  • Loading branch information
Darrell Kavanagh authored and ardbiesheuvel committed Feb 19, 2023
1 parent 0e68b55 commit e1d4471
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/firmware/efi/sysfb_efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ static const struct dmi_system_id efifb_dmi_swap_width_height[] __initconst = {
"Lenovo ideapad D330-10IGM"),
},
},
{
/* Lenovo IdeaPad Duet 3 10IGL5 with 1200x1920 portrait screen */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION,
"IdeaPad Duet 3 10IGL5"),
},
},
{},
};

Expand Down

0 comments on commit e1d4471

Please sign in to comment.