Two generic fixes split out for easy review, one refactoring as requested, and then the last patch is the panel/mode quirk to allow for corruption free fbcon with simpledrmfb and efidrmfb on the Valve Steam Deck.
v2: * s/unsigned/unsigned int/ * s/pitch/linelength/ * Removed comment explaining the Steam Deck quirk. * Added patch to refactor quirk application via callbacks. Cc: Thomas Zimmermann <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Melissa Wen <[email protected]> Cc: [email protected] Tvrtko Ursulin (4): efi: sysfb_efi: Replace open coded swap with the macro efi: sysfb_efi: Fix lfb_linelength calculation when applying quirks efi: sysfb_efi: Convert swap width and height quirk to a callback efi: sysfb_efi: Fix efidrmfb and simpledrmfb on Valve Steam Deck drivers/firmware/efi/sysfb_efi.c | 71 ++++++++++++++++++++++++++++---- 1 file changed, 63 insertions(+), 8 deletions(-) -- 2.51.1
