aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/kbuf.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-01-02 12:29:21 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2023-01-03 14:25:17 +0100
commit175073d694cd9db4c4ca97c978a447acc6b5cb33 (patch)
tree7824e6f23bd498085ae60694f508a6c8f4cb8a85 /io_uring/kbuf.c
parentf238ac30afde0da3dcc047ba6f735837a238f2b1 (diff)
downloadlinux-175073d694cd9db4c4ca97c978a447acc6b5cb33.tar.gz
drm/format-helper: Add conversion from XRGB8888 to ARGB8888
Add dedicated helper to convert from XRGB8888 to ARGB8888. Sets all alpha bits to make pixels fully opaque. v3: * use __le32 for destination buffer (Jose, kernel test robot) v2: * use cpubuf_to_le32() * type fixes Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230102112927.26565-8-tzimmermann@suse.de
Diffstat (limited to 'io_uring/kbuf.c')
0 files changed, 0 insertions, 0 deletions