drm/i915: Pass the crtc to the low level read_lut() funcs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 Mar 2020 17:33:13 +0000 (19:33 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Mar 2020 20:13:23 +0000 (22:13 +0200)
commite10eb8dd59e1eef559537898f10b4472d355c022
treeb024ebd7c5d3ba6ef03bb0a8be321bf74e8a008a
parent62153bdd66f281fcd2318401684a7267d8ecddd9
drm/i915: Pass the crtc to the low level read_lut() funcs

The low level read_lut() functions don't need the entire crtc state
as they know exactly what they're reading. Just need to pass in the
crtc to get at the pipe. This now neatly mirrors the load_lut()
direction.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200303173313.28117-10-ville.syrjala@linux.intel.com
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
drivers/gpu/drm/i915/display/intel_color.c