Skip to content
Commit 877691b9 authored by Hector Martin's avatar Hector Martin Committed by Thomas Zimmermann
Browse files

drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_toio()



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.

Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211212062407.138309-3-marcan@marcan.st
parent 2f92ea21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment