diff options
author | 2023-05-09 17:28:53 -0300 | |
---|---|---|
committer | 2023-06-24 19:06:16 -0300 | |
commit | cc4fd2934d41a69b4339d7145040d99e7ea79b02 (patch) | |
tree | 7ac974be89e272adcaf97002cbc1600636a1a701 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | drm/vkms: Enable ARGB8888 support for writeback (diff) | |
download | wireguard-linux-cc4fd2934d41a69b4339d7145040d99e7ea79b02.tar.xz wireguard-linux-cc4fd2934d41a69b4339d7145040d99e7ea79b02.zip |
drm/vkms: Isolate writeback pixel conversion functions
All convertions from the ARGB16161616 format follow the same structure.
Instead of repeting the same structure for each supported format, create
a function to encapsulate the common logic and isolate the pixel
conversion functions in a callback function.
Suggested-by: Melissa Wen <mwen@igalia.com>
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-4-mcanal@igalia.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions