diff options
author | Louis Chauvet <louis.chauvet@bootlin.com> | 2025-07-03 09:56:57 +0200 |
---|---|---|
committer | Louis Chauvet <louis.chauvet@bootlin.com> | 2025-09-05 19:57:16 +0200 |
commit | 544f161a88af0370ced87783246418aed63b619c (patch) | |
tree | c82e5159af442b62bbed704d60f6815a078af483 /rust/helpers/build_bug.c | |
parent | 0d2902dfa31535c08d4976995d5b6890a8f43399 (diff) |
drm/vkms: Create helpers macro to avoid code duplication in format callbacks
The callback functions for line conversion are almost identical for
some format. The generic READ_LINE macro generate all the required
boilerplate to process a line.
Two overrides of this macro have been added to avoid duplication of
the same arguments every time.
Reviewed-by: MaĆra Canal <mcanal@igalia.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Link: https://lore.kernel.org/r/20250703-b4-new-color-formats-v7-1-15fd8fd2e15c@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions