On 03/12/2025 06:39, Tvrtko Ursulin wrote:
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.
This series is: Tested-by: Melissa Wen <[email protected]> on LCD and OLED Steam Deck device. In both devices, the issue is present and fixed by this series. BR, Melissa
v2: * s/unsigned/unsigned int/ * s/pitch/linelength/ * Removed comment explaining the Steam Deck quirk. * Added patch to refactor quirk application via callbacks. v3 * Added forgotten __initconst. * Use separate callback for the fixup quirk. 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 | 72 ++++++++++++++++++++++++++++---- 1 file changed, 64 insertions(+), 8 deletions(-)
