Commit 6ea966fc authored by Hector Martin's avatar Hector Martin Committed by Thomas Zimmermann
Browse files

drm/simpledrm: Add [AX]RGB2101010 formats



This is the format used by the bootloader framebuffer on Apple ARM64
platforms.

Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211212062407.138309-4-marcan@marcan.st
parent 877691b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -571,8 +571,8 @@ static const uint32_t simpledrm_default_formats[] = {
	//DRM_FORMAT_XRGB1555,
	//DRM_FORMAT_ARGB1555,
	DRM_FORMAT_RGB888,
	//DRM_FORMAT_XRGB2101010,
	//DRM_FORMAT_ARGB2101010,
	DRM_FORMAT_XRGB2101010,
	DRM_FORMAT_ARGB2101010,
};

static const uint64_t simpledrm_format_modifiers[] = {