diff options
author | Maíra Canal <[email protected]> | 2023-05-15 10:52:04 -0300 |
---|---|---|
committer | Maíra Canal <[email protected]> | 2023-06-24 19:06:13 -0300 |
commit | e2a47217b9ca755ebb56ee696ef022cf340c7bf7 (patch) | |
tree | 9d3571e81e57c602a9f44ebad7cef5d79e7e70e0 | |
parent | 6c494ca6fd820ca6f4329bfbdcd048466dc752e2 (diff) |
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 <[email protected]>
Reviewed-by: Arthur Grillo <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/vkms/vkms_writeback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vkms/vkms_writeback.c b/drivers/gpu/drm/vkms/vkms_writeback.c index 9a126f678d73..36e75fcefc1a 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, |