[PATCH 0/6] video: pixel format handling fixes and improvements

Jiaxun Yang jiaxun.yang at flygoat.com
Fri May 17 00:16:40 CEST 2024


Hi all,

This series fixes endian related problem I found in general
video system when testing my fresh virtio-gpu driver on big
endian target.

It also removed a lot of duplicated code on pixel handling,
and make implementation of new pixel formats easier. Further
more, it removed limitation on bpc for BMP display, now we
can display any image depth on any target display controller.

Please review.
Thanks

Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
---
Jiaxun Yang (6):
      video: Move generated bmp headers to include/generated
      video: Add gitignore for u_boot_logo.S
      video: Rework pixel format handling
      video: bmp: Rework with video_rgb_to_pixel_*
      video: sandbox_sdl: Implement more pixel formats
      video: bochs: Setup framebuffer endian

 Makefile                          |   2 +-
 arch/sandbox/cpu/sdl.c            |  58 +++++++++--
 arch/sandbox/include/asm/sdl.h    |  17 ++--
 board/aristainetos/aristainetos.c |   2 +-
 board/toradex/common/tdx-common.c |   2 +-
 common/splash.c                   |   4 +-
 drivers/video/.gitignore          |   1 +
 drivers/video/bochs.c             |   8 ++
 drivers/video/console_truetype.c  |   4 +-
 drivers/video/sandbox_sdl.c       |  16 +--
 drivers/video/simplefb.c          |   2 +-
 drivers/video/video-uclass.c      |  38 ++-----
 drivers/video/video_bmp.c         | 201 +++++++++++---------------------------
 include/dm/test.h                 |   2 +
 include/video.h                   |  31 +-----
 include/video_format.h            | 161 ++++++++++++++++++++++++++++++
 lib/efi_loader/efi_gop.c          |   2 +-
 test/dm/video.c                   |  18 ++--
 tools/Makefile                    |   4 +-
 19 files changed, 332 insertions(+), 241 deletions(-)
---
base-commit: ad7dce5abd49ef3b5c93da5303e15449c8c162b4
change-id: 20240516-rework-video-format-ae8afadc45a5

Best regards,
-- 
Jiaxun Yang <jiaxun.yang at flygoat.com>



More information about the U-Boot mailing list