]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor LUT read functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 Mar 2020 17:33:11 +0000 (19:33 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Mar 2020 20:09:54 +0000 (22:09 +0200)
commitbf0db6bd4e140e408d20c0ffef3187d123806446
tree1aaf96b6e41d58b4586c2c45221d642d004892d7
parent05d631c4f65ecde49dd982e1b40dfac043132239
drm/i915: Refactor LUT read functions

Extract all the 'hw value -> LUT entry' stuff into small helpers
to make the main 'read out the entire LUT' loop less bogged down
by such mundane details.

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