aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2023-05-09 17:28:53 -0300
committerMaíra Canal <mairacanal@riseup.net>2023-06-24 19:06:16 -0300
commitcc4fd2934d41a69b4339d7145040d99e7ea79b02 (patch)
tree7ac974be89e272adcaf97002cbc1600636a1a701 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/vkms: Enable ARGB8888 support for writeback (diff)
downloadwireguard-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