summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDarrell Kavanagh <darrell.kavanagh@gmail.com>2023-02-15 11:50:45 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 16:40:15 +0100
commit07fb5653366c86fad87d84bad9d5c3f6fbc1e307 (patch)
treee45a025d305a3ce00be92046983352bf9723dfe6 /arch
parent25c9fba724bdfa66e4f0d19e8b3d331eca798be9 (diff)
downloadlinux-07fb5653366c86fad87d84bad9d5c3f6fbc1e307.tar.gz
linux-07fb5653366c86fad87d84bad9d5c3f6fbc1e307.tar.bz2
linux-07fb5653366c86fad87d84bad9d5c3f6fbc1e307.zip
firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
[ Upstream commit e1d447157f232c650e6f32c9fb89ff3d0207c69a ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/sysfb_efi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/sysfb_efi.c b/arch/x86/kernel/sysfb_efi.c
index 653b7f617b61..9ea65611fba0 100644
--- a/arch/x86/kernel/sysfb_efi.c
+++ b/arch/x86/kernel/sysfb_efi.c
@@ -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"),
+ },
+ },
{},
};