diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-02-23 21:25:06 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-16 15:44:01 +0200 |
commit | 80343b3e477f3b3b5a01be664a526878a18eb57d (patch) | |
tree | c8a13b92c4c0ea4a05000454be45406bd7790f47 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions