From: Maíra Canal Date: Mon, 15 May 2023 13:52:04 +0000 (-0300) Subject: drm/vkms: Enable ARGB8888 support for writeback X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e2a47217b9ca755ebb56ee696ef022cf340c7bf7;p=linux.git 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 Reviewed-by: Arthur Grillo Signed-off-by: Maíra Canal Link: https://patchwork.freedesktop.org/patch/msgid/20230515135204.115393-3-mcanal@igalia.com --- diff --git a/drivers/gpu/drm/vkms/vkms_writeback.c b/drivers/gpu/drm/vkms/vkms_writeback.c index 9a126f678d738..36e75fcefc1a7 100644 --- a/drivers/gpu/drm/vkms/vkms_writeback.c +++ b/drivers/gpu/drm/vkms/vkms_writeback.c @@ -15,6 +15,7 @@ #include "vkms_formats.h" static const u32 vkms_wb_formats[] = { + DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888, DRM_FORMAT_XRGB16161616, DRM_FORMAT_ARGB16161616,