drm: Introduce drm_color_lut_size()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 15 Mar 2018 15:23:38 +0000 (17:23 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
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 <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180315152338.7248-1-ville.syrjala@linux.intel.com
include/drm/drm_color_mgmt.h