drm/i915: Expose crtc CTM property on ilk/snb
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Apr 2023 16:49:11 +0000 (19:49 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 26 May 2023 14:55:13 +0000 (17:55 +0300)
commitd9ce4e430790ba4f45e5febd7b4bd87b0f23563e
treeb6db2f1c812a5208ede4ee9c6a3813a2074053a3
parent35c812050ebdfe5ce576cf04d1d43d02dc2dfe19
drm/i915: Expose crtc CTM property on ilk/snb

The ilk/snb code is internally fully capable of handling the
CTM property, so expose it.

Note that we still choose not to expose DEGAMMA_LUT though.
The hardware is capable if degamma or gamma, but not both
simultanously due to lack of the split gamma mode. Exposing
both LUTs might encourage userspace to try enabling both
at the same time.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230413164916.4221-3-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_color.c