drm/i915/display: remove explicit CNL handling from intel_color.c
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 28 Jul 2021 21:59:24 +0000 (14:59 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 Jul 2021 17:11:22 +0000 (10:11 -0700)
commit44bf1b737be017768d6a617c617960b671541ea2
tree1dcaa3a9dbde08d2af54abbb5d4b9e7e81600951
parent1d89509a5dd64ccd3abba8861c909b3707eb7520
drm/i915/display: remove explicit CNL handling from intel_color.c

The only real platform with DISPLAY_VER == 10 is GLK, so we don't need
any checks and supporting code for CNL. For DISPLAY_VER >= 11,
ilk_load_csc_matrix() is not used, so make it handle GLK only.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210728215946.1573015-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_color.c