Skip to content

Commit

Permalink
drm/vkms: Enable ARGB8888 support for writeback
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Maíra Canal authored and Maíra Canal committed Jun 24, 2023
1 parent 6c494ca commit e2a4721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/vkms/vkms_writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e2a4721

Please sign in to comment.