]> Gentwo Git Trees - linux/.git/commit
drm/i915/xe3p_lpd: Remove gamma,csc bottom color checks
authorSai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Wed, 5 Nov 2025 14:06:56 +0000 (11:06 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Thu, 6 Nov 2025 21:22:47 +0000 (18:22 -0300)
commit2d608ce6e6597c37a78e7f98c160ac1a27941774
tree753fc5d1be8cb99ac0e72d57bdfa5a0c1aad631d
parent8d8efb83c818f777c528e96542d5a7bd12d42ad0
drm/i915/xe3p_lpd: Remove gamma,csc bottom color checks

With Xe3p_LPD, the SKL_BOTTOM_COLOR_GAMMA_ENABLE and
SKL_BOTTOM_COLOR_CSC_ENABLE bits are being removed. Thus, we need not
set gamma_enable nor csc_enable in crtc_state.

Note that GAMMA_MODE.POST_CSC_GAMMA_ENABLE and CSC_MODE.ICL_CSC_ENABLE
are the documented alternatives for the bottom color bits being removed.
But as these suggested bits are being checked in state checker as part
of gamma_mode, csc_mode fields and as gamma_enable/csc_enable are not
being used anywhere else functionally post ICL, we need not set these
fields in crtc_state.

Bspec: 69734
Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Link: https://patch.msgid.link/20251103-xe3p_lpd-basic-enabling-v3-7-00e87b510ae7@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/i915/display/intel_color.c