aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-03-28 14:15:01 +0000
committerThomas Zimmermann <[email protected]>2025-04-01 13:35:22 +0000
commita376dcf49c391d06dad31a87e3cdfdf67fecc98d (patch)
tree6f139f71f4480b234c56e9a321d37f5256330f11 /drivers/platform/x86/intel/pmt/class.c
parentdrm/format-helper: Add generic conversion to 16-bit formats (diff)
downloadkernel-a376dcf49c391d06dad31a87e3cdfdf67fecc98d.tar.gz
kernel-a376dcf49c391d06dad31a87e3cdfdf67fecc98d.zip
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 <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions