diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-28 17:15:01 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-04-01 16:35:22 +0300 |
commit | a376dcf49c391d06dad31a87e3cdfdf67fecc98d (patch) | |
tree | 6f139f71f4480b234c56e9a321d37f5256330f11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b39e5ba0ccb4014d94058eda21aec800c647863d (diff) | |
download | linux-a376dcf49c391d06dad31a87e3cdfdf67fecc98d.tar.xz |
drm/format-helper: Add generic conversion to 8-bit formats
Add drm_fb_xfrm_line_32to8() to implement conversion from 32-bit
pixels to 8-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-6-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions