drm: Introduce drm_color_lut_size()
authorVille Syrjälä <[email protected]>
Thu, 15 Mar 2018 15:23:38 +0000 (17:23 +0200)
committerVille Syrjälä <[email protected]>
Fri, 16 Mar 2018 13:44:01 +0000 (15:44 +0200)
commit41204dfeed93f2c7668cf8aa5086bcd96eccaa35
treecb7f210a29c95a520eaf7ed0c0a4f99ac3efae45
parentd2a24edb532e6599755fc1bbd080cf57e0dd72c3
drm: Introduce drm_color_lut_size()

Provide a small helper to convert the blob length in bytes
to the number of LUT entries.

v2: Add kerneldoc (Daniel)

Cc: Daniel Vetter <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
include/drm/drm_color_mgmt.h