[RFC 21/33] drm/i915/color: Create and attach set color pipeline property

Uma Shankar uma.shankar at intel.com
Tue Aug 29 16:04:10 UTC 2023


From: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>

Create and attach "SET_COLOR_PIPELINE" property to planes.

Co-developed-by: Uma Shankar <uma.shankar at intel.com>
Signed-off-by: Uma Shankar <uma.shankar at intel.com>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>
---
 drivers/gpu/drm/i915/display/intel_color.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c
index 9f5d2cd0f97a..feff8ac45f47 100644
--- a/drivers/gpu/drm/i915/display/intel_color.c
+++ b/drivers/gpu/drm/i915/display/intel_color.c
@@ -4066,6 +4066,9 @@ void intel_color_plane_init(struct drm_plane *plane)
 					     sizeof(color_pipeline_sdr));
 
 	drm_plane_attach_get_color_pipeline_property(plane);
+
+	drm_plane_create_set_color_pipeline_property(plane->dev, plane);
+	drm_plane_attach_set_color_pipeline_property(plane);
 }
 
 void intel_color_crtc_init(struct intel_crtc *crtc)
-- 
2.38.1



More information about the dri-devel mailing list