Message ID | 20210601104135.29020-5-uma.shankar@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Enhance pipe color support for multi segmented luts | expand |
diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c index 12cacd3aeead..cae96fbec1a7 100644 --- a/drivers/gpu/drm/i915/display/intel_color.c +++ b/drivers/gpu/drm/i915/display/intel_color.c @@ -2458,6 +2458,7 @@ void intel_color_init(struct intel_crtc *crtc) "logarithmic gamma", d13_logarithmic_gamma, sizeof(d13_logarithmic_gamma)); + drm_crtc_attach_gamma_mode_property(&crtc->base); } else if (DISPLAY_VER(dev_priv) >= 11) { dev_priv->display.color_check = icl_color_check; } else if (DISPLAY_VER(dev_priv) >= 10) {
Attach the gamma mode property to allow userspace set the gamma mode and provide the luts for the same. Signed-off-by: Uma Shankar <uma.shankar@intel.com> --- drivers/gpu/drm/i915/display/intel_color.c | 1 + 1 file changed, 1 insertion(+)