commit | 80343b3e477f3b3b5a01be664a526878a18eb57d | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Feb 23 21:25:06 2018 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Mar 16 15:44:01 2018 +0200 |
tree | c8a13b92c4c0ea4a05000454be45406bd7790f47 | |
parent | d5517a39dce40f57665c714823843eea4f8dd7b6 [diff] |
drm/i915: Use drm_color_lut_size() Avoid all the sizeof(drm_color_lut) business by using drm_color_lut_size() to convert the blob length into number of LUT entries. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180223192506.29992-6-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>