efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
authorHans de Goede <hdegoede@redhat.com>
Tue, 14 Mar 2023 12:31:03 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 10:35:11 +0000 (12:35 +0200)
commit09b1f40a4ea271b3676704f47d85483df5b76b7b
treed45bad429b8b8f2ab8334aa9d472f832c2f2fb49
parenta1cfba54130066bc89764ab6adcad8ef952eb12b
efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L

[ Upstream commit 5ed213dd64681f84a01ceaa82fb336cf7d59ddcf ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/efi/sysfb_efi.c