aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-03-28 14:14:59 +0000
committerThomas Zimmermann <[email protected]>2025-04-01 13:35:21 +0000
commitf46bf57299b0a8395263de0bcfcb72a600adaae9 (patch)
tree0464fa5dbab7dd75c15700c534c94a68284c1388 /drivers/platform/x86/intel/pmt/class.c
parentdrm/format-helper: Add generic conversion to 32-bit formats (diff)
downloadkernel-f46bf57299b0a8395263de0bcfcb72a600adaae9.tar.gz
kernel-f46bf57299b0a8395263de0bcfcb72a600adaae9.zip
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 <[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