drm/i915/color: Fix typo for Plane CSC indexes
authorjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 02:56:18 +0000 (02:56 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 02:56:18 +0000 (02:56 +0000)
From Chaitanya Kumar Borah
5b6b81decdf08b5171c3872e45e9e3772a274032 in linux-6.1.y/6.1.29
2efc8e1001acfdc143cf2d25a08a4974c322e2a8 in mainline linux

sys/dev/pci/drm/i915/i915_reg.h

index 2372bfa..2501599 100644 (file)
@@ -7840,8 +7840,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)