diff options
author | Maíra Canal <mcanal@igalia.com> | 2023-05-09 23:28:53 +0300 |
---|---|---|
committer | Maíra Canal <mairacanal@riseup.net> | 2023-06-25 01:06:16 +0300 |
commit | cc4fd2934d41a69b4339d7145040d99e7ea79b02 (patch) | |
tree | 7ac974be89e272adcaf97002cbc1600636a1a701 /ipc | |
parent | e2a47217b9ca755ebb56ee696ef022cf340c7bf7 (diff) | |
download | linux-cc4fd2934d41a69b4339d7145040d99e7ea79b02.tar.xz |
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 'ipc')
0 files changed, 0 insertions, 0 deletions