drm/i915: Split broadwell_load_luts() into smaller functions
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 26 Jan 2017 11:24:23 +0000 (13:24 +0200)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 30 Jan 2017 08:24:21 +0000 (10:24 +0200)
commit2fcb206654e8b3826424ffa7ef65bd74cc65ff16
treeff4777d9efee25db4e9691fdee1d3d7eaf128975
parent47f9ea8b9143890c9b98ad9e16e8ad793be2d9e3
drm/i915: Split broadwell_load_luts() into smaller functions

Split the logic for progamming each LUT out of broadwell_load_luts(), so
we can reuse part of it for geminilake.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1485429865-10687-4-git-send-email-ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_color.c