drm/i915/color: Fix typo for Plane CSC indexes
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Thu, 30 Mar 2023 15:01:04 +0000 (20:31 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Thu, 13 Apr 2023 15:09:10 +0000 (20:39 +0530)
Replace _PLANE_INPUT_CSC_RY_GY_2_* with _PLANE_CSC_RY_GY_2_*
for Plane CSC

Fixes: 6eba56f64d5d ("drm/i915/pxp: black pixels on pxp disabled")

Cc: <stable@vger.kernel.org>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230330150104.2923519-1-chaitanya.kumar.borah@intel.com
drivers/gpu/drm/i915/i915_reg.h

index ae387c7..4511f01 100644 (file)
@@ -6338,8 +6338,8 @@ enum skl_power_gate {
 
 #define _PLANE_CSC_RY_GY_1(pipe)       _PIPE(pipe, _PLANE_CSC_RY_GY_1_A, \
                                              _PLANE_CSC_RY_GY_1_B)
-#define _PLANE_CSC_RY_GY_2(pipe)       _PIPE(pipe, _PLANE_INPUT_CSC_RY_GY_2_A, \
-                                             _PLANE_INPUT_CSC_RY_GY_2_B)
+#define _PLANE_CSC_RY_GY_2(pipe)       _PIPE(pipe, _PLANE_CSC_RY_GY_2_A, \
+                                             _PLANE_CSC_RY_GY_2_B)
 #define PLANE_CSC_COEFF(pipe, plane, index)    _MMIO_PLANE(plane, \
                                                            _PLANE_CSC_RY_GY_1(pipe) +  (index) * 4, \
                                                            _PLANE_CSC_RY_GY_2(pipe) + (index) * 4)