drm/i915: Polish bdw_read_lut_10() a bit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Sep 2020 13:16:55 +0000 (16:16 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Sep 2020 15:09:50 +0000 (18:09 +0300)
commitd0a9acaa6bc28ebefb5774d4d2eab484eae5c3fd
tree6fe07fe922333b112ed5ef7ff5bd61103b53412a
parent3d041e904b79c03dd7e74e50c193e8e3aac8d95f
drm/i915: Polish bdw_read_lut_10() a bit

Since bdw_read_lut_10() uses the auto-increment mode we must
have an equal number of entries in the software LUT and the
hardware LUT. WARN if that is not the case.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200925131656.10022-9-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_color.c