diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-04-27 16:14:06 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-05-05 08:53:56 +0200 |
commit | 41fd6f0a6dd62def79e91c2170cdfd29473fb833 (patch) | |
tree | b6f33b270cbc97b4e590cdd3548dd99ca6424c23 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
parent | 1bb533b6871a7e3b0692253f7f8bf18338e21627 (diff) |
drm/format-helper: Implement drm_fb_swab() with per-line helpers
Replace the inner loop of drm_fb_swab() with helper functions that
swap the bytes in each pixel. This will allow to share the outer
loop with other conversion helpers.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220427141409.22842-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions