Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/vkms: Enable ARGB8888 support for writeback

The VKMS already has a function to convert ARGB16161616 to ARGB8888, so
it is possible to use this function to provide the writeback support for
the ARGB8888 format. Therefore, add the ARGB8888 format to the writeback
format list.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230515135204.115393-3-mcanal@igalia.com

authored by

Maíra Canal and committed by
Maíra Canal
e2a47217 6c494ca6

+1
+1
drivers/gpu/drm/vkms/vkms_writeback.c
··· 15 15 #include "vkms_formats.h" 16 16 17 17 static const u32 vkms_wb_formats[] = { 18 + DRM_FORMAT_ARGB8888, 18 19 DRM_FORMAT_XRGB8888, 19 20 DRM_FORMAT_XRGB16161616, 20 21 DRM_FORMAT_ARGB16161616,