[PATCH 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_dstclip()
Pekka Paalanen
ppaalanen at gmail.com
Mon Nov 22 09:52:47 UTC 2021
On Wed, 17 Nov 2021 23:58:28 +0900
Hector Martin <marcan at marcan.st> wrote:
> Add XRGB8888 emulation support for devices that can only do XRGB2101010.
>
> This is chiefly useful for simpledrm on Apple devices where the
> bootloader-provided framebuffer is 10-bit, which already works fine with
> simplefb. This is required to make simpledrm support this too.
>
> Signed-off-by: Hector Martin <marcan at marcan.st>
> ---
> drivers/gpu/drm/drm_format_helper.c | 64 +++++++++++++++++++++++++++++
> include/drm/drm_format_helper.h | 4 ++
> 2 files changed, 68 insertions(+)
Hi Hector,
I'm curious, since the bootloader seems to always set up a 10-bit mode,
is there a reason for it that you can guess? Is the monitor in WCG or
even HDR mode?
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20211122/79d6a629/attachment.sig>
More information about the dri-devel
mailing list