drm/i915/color: Extract HDR post-CSC LUT programming to helper function

Move HDR plane post-CSC LUT programming to improve code organization.

While at it, remove the segment 0 index register writes as it is not
currently programmed.

Signed-off-by: Pranay Samala <pranay.samala@intel.com>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patch.msgid.link/20260902075417.656673-7-chaitanya.kumar.borah@intel.com
This commit is contained in:
Pranay Samala 2026-09-02 13:24:14 +05:30 • committed by Chaitanya Kumar Borah
commit 2a8563b84c