]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up i9xx_load_luts_internal()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 Mar 2020 17:33:06 +0000 (19:33 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Mar 2020 20:05:36 +0000 (22:05 +0200)
commit801d2f5e81de7fe774effff065a0e57af5c39eb9
tree1c5cdbd692f3fcb76d328a5b278d4f7af7b4d00c
parent781f2ba8ec783b5545ea0df447c80913407dbe3c
drm/i915: Clean up i9xx_load_luts_internal()

Split i9xx_load_luts_internal() into neat gmch vs. ilk+ chunks.
Avoids at least one branch in the inner loop, and makes life
a bit less confusing.

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