diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2016-04-24 01:08:59 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-17 14:16:16 +0300 |
commit | c6b013ab517b0ae09036d50f6b1684d9dbedf596 (patch) | |
tree | de8cd068c7b1bbdfdbad6f0c6b3c81e83f400270 /include/media/v4l2-device.h | |
parent | 0c1a41b50805464f397a334a6b2dd95ca6415f32 (diff) | |
download | linux-c6b013ab517b0ae09036d50f6b1684d9dbedf596.tar.xz |
[media] v4l: vsp1: Group DRM RPF parameters in a structure
The vsp1_du_atomic_update_ext() function takes 7 RPF configuration
parameters, and more will likely be added later. This makes the code
difficult to read and error-prone as multiple parameters have the same
type.
Make the API safer and easier to extend in the future by grouping all
parameters in a structure. Use macro magic to ease the transition to the
new function by allowing the old and new functions to be called using
the same name. The macros and static inline wrapper will be removed as
soon as the caller is updated.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/v4l2-device.h')
0 files changed, 0 insertions, 0 deletions