diff options
author | Maíra Canal <mcanal@igalia.com> | 2023-04-18 10:05:21 -0300 |
---|---|---|
committer | Maíra Canal <mairacanal@riseup.net> | 2023-04-24 17:09:19 -0300 |
commit | 322d716a3e8a74fb75cd0f657647be4df253fd2f (patch) | |
tree | db749079b833308d9a72ffead451f1af502d3208 /fs/unicode | |
parent | 8356b97906503a02125c8d03c9b88a61ea46a05a (diff) |
drm/vkms: isolate pixel conversion functionality
Currently, the pixel conversion functions repeat the same loop to
iterate the rows. Instead of repeating the same code for each pixel
format, create a function to wrap the loop and isolate the pixel
conversion functionality.
Suggested-by: Arthur Grillo <arthurgrillo@riseup.net>
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/20230418130525.128733-2-mcanal@igalia.com
Diffstat (limited to 'fs/unicode')
0 files changed, 0 insertions, 0 deletions