]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove the pointless 1:1 matrix copy
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Feb 2018 21:42:30 +0000 (23:42 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Feb 2018 12:58:23 +0000 (14:58 +0200)
commit541e8ec419f0375acf3550d93e195b7ab26ae9a0
tree84321afc47e3132a8926dc3530481f63c8fbd973
parent61e86cc5320843fda8335c84e3c52f4e247643f1
drm/i915: Remove the pointless 1:1 matrix copy

If we don't have to frob with the user provided ctm matrix there's
no point in copying it over. Just point at the user ctm directly.

Also the matrix gets fully populated by ctm_mult_by_limited() so
no need to zero initialize it.

Cc: Johnson Lin <johnson.lin@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Cc: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180222214232.6064-2-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/intel_color.c