All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] 30bpp framebuffer support
@ 2021-09-25 20:47 Mark Kettenis
  2021-09-25 20:47 ` [PATCH v2 1/4] video: Add 30bpp support Mark Kettenis
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mark Kettenis @ 2021-09-25 20:47 UTC (permalink / raw)
  To: u-boot
  Cc: Mark Kettenis, Anatolij Gustschin, Heinrich Schuchardt, Alexander Graf

Apple M1 machines come up with a framebuffer that in 30bpp mode.
This series adds basic support for this mode.

What I call 30bpp mode here is really a 32bpp mode with pixels where
each color channel is 10 bits deep.  To distinguish this mode from the
"regular" 32bpp mode (where each channel is 8 bits deep) we need to
keep track of the pixel format.  In order to avoid having to update
each and every video driver, I've introduced an "unknown" format that
is the default, where the code continues to infer the pixel format
from the bpp value.


Changelog:

v2: - Encode pixel format in favour of adding VIDEO_30BPP
    - Recognize more format strings in simplefb driver
    - Fix EFI block image transfer for 30bpp mode

Mark Kettenis (4):
  video: Add 30bpp support
  efi_loader: GOP: Add 30bpp support
  video: simplefb: Add 30bpp support
  efi_loader: GOP: Fix 30bpp block transfer support

 drivers/video/simplefb.c          | 12 +++++-
 drivers/video/vidconsole-uclass.c | 11 ++++--
 include/video.h                   |  9 +++++
 lib/efi_loader/efi_gop.c          | 61 +++++++++++++++++++++++++++++--
 4 files changed, 86 insertions(+), 7 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-12  7:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25 20:47 [PATCH v2 0/4] 30bpp framebuffer support Mark Kettenis
2021-09-25 20:47 ` [PATCH v2 1/4] video: Add 30bpp support Mark Kettenis
2021-09-25 20:47 ` [PATCH v2 2/4] efi_loader: GOP: " Mark Kettenis
2021-09-25 20:47 ` [PATCH v2 3/4] video: simplefb: " Mark Kettenis
2021-09-25 20:47 ` [PATCH v2 4/4] efi_loader: GOP: Fix 30bpp block transfer support Mark Kettenis
2021-09-26  6:51   ` Heinrich Schuchardt
2021-10-12  7:24 ` [PATCH v2 0/4] 30bpp framebuffer support Anatolij Gustschin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.