[Intel-gfx] [PATCH 00/10] drm/i915: Clean up intel_color_check()

Jani Nikula jani.nikula at linux.intel.com
Tue Mar 19 16:26:43 UTC 2019


On Mon, 18 Mar 2019, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> intel_color_check() is mess. Blow it up into clean platform sized
> chunks. Also eliminate some redundant linear LUT loads as a result.

How about a "load lut" -> "write lut" rename while at it? I think
"loading" is confusing.

BR,
Jani.


>
> Ville Syrjälä (10):
>   drm/i915: Extract check_luts()
>   drm/i915: Turn intel_color_check() into a vfunc
>   drm/i915: Extract i9xx_color_check()
>   drm/i915: Extract chv_color_check()
>   drm/i915: Extract icl_color_check()
>   drm/i915: Extract glk_color_check()
>   drm/i915: Extract bdw_color_check()
>   drm/i915: Extract ilk_color_check()
>   drm/i915: Drop the pointless linear legacy LUT load on CHV
>   drm/i915: Skip the linear degamma LUT load on ICL+
>
>  drivers/gpu/drm/i915/i915_drv.h    |   1 +
>  drivers/gpu/drm/i915/intel_color.c | 384 +++++++++++++++++++++--------
>  2 files changed, 286 insertions(+), 99 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list