diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-15 17:22:41 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-16 15:44:01 +0200 |
commit | d2a24edb532e6599755fc1bbd080cf57e0dd72c3 (patch) | |
tree | 16fbbdb16966850e02319f342ac29ca82dfdd06d /include/drm | |
parent | 11b83e3fbc419678828982fbbf5c07ef9bf202f0 (diff) | |
download | linux-d2a24edb532e6599755fc1bbd080cf57e0dd72c3.tar.gz |
drm: Verify gamma/degamma LUT size
While we want to potentially support multiple different gamma/degamma
LUT sizes we can (and should) at least check that the blob length
is a multiple of the LUT entry size.
v2: s/expected_size_mod/expected_elem_size/ (Daniel)
Add kernel doc (Daniel)
v3: s/we/were/ typo in the docs
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/20180315152241.7113-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions