diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-28 15:14:59 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-04-01 15:35:21 +0200 |
| commit | f46bf57299b0a8395263de0bcfcb72a600adaae9 (patch) | |
| tree | 0464fa5dbab7dd75c15700c534c94a68284c1388 /tools/perf/scripts/python | |
| parent | d55d0b066f4eedf030c9c1a67a2a0abffece3abc (diff) | |
drm/format-helper: Add generic conversion to 24-bit formats
Add drm_fb_xfrm_line_32to24() to implement conversion from 32-bit
pixels to 24-bit pixels. The pixel-conversion is specified by the
given callback parameter. Mark the helper as always_inline to avoid
overhead from function calls.
Then implement all existing line-conversion functions with the new
generic call and the respective pixel-conversion helper.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250328141709.217283-4-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
