drm/vkms: Enable ARGB8888 support for writeback
authorMaíra Canal <mcanal@igalia.com>
Mon, 15 May 2023 13:52:04 +0000 (10:52 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Sat, 24 Jun 2023 22:06:13 +0000 (19:06 -0300)
commite2a47217b9ca755ebb56ee696ef022cf340c7bf7
tree9d3571e81e57c602a9f44ebad7cef5d79e7e70e0
parent6c494ca6fd820ca6f4329bfbdcd048466dc752e2
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
drivers/gpu/drm/vkms/vkms_writeback.c