]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit942b3ddc226aa8a874e813dca3768453e1f64dbf
treeb024ebd7c5d3ba6ef03bb0a8be321bf74e8a008a
parenta67f21cc1ab2a2841e21f2b17f97e6218ee743b9
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