Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915/display: Copy color pipeline from plane in the primary joiner pipe
@ 2026-04-01  8:38 Chaitanya Kumar Borah
  2026-04-01  8:38 ` [PATCH 2/3] drm/i915: Fix color blob reference handling in intel_plane_state Chaitanya Kumar Borah
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Chaitanya Kumar Borah @ 2026-04-01  8:38 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: uma.shankar, chaitanya.kumar.borah, pranay.samala

When copying plane color state in a joiner configuration, use the plane in
the primary joiner pipe since it carries the pipeline number selected by
the user-space.

This assumes that all pipes in the joiner are symmetric in their plane
color capabilities.

Cc: stable@vger.kernel.org # v6.19+
Fixes: a78f1b6baf4d ("drm/i915/color: Add framework to program CSC")
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
---
 drivers/gpu/drm/i915/display/intel_plane.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_plane.c b/drivers/gpu/drm/i915/display/intel_plane.c
index 5390ceb21ca4..82f445c83158 100644
--- a/drivers/gpu/drm/i915/display/intel_plane.c
+++ b/drivers/gpu/drm/i915/display/intel_plane.c
@@ -373,7 +373,7 @@ intel_plane_color_copy_uapi_to_hw_state(struct intel_plane_state *plane_state,
 	bool changed = false;
 	int i = 0;
 
-	iter_colorop = plane_state->uapi.color_pipeline;
+	iter_colorop = from_plane_state->uapi.color_pipeline;
 
 	while (iter_colorop) {
 		for_each_new_colorop_in_state(state, colorop, new_colorop_state, i) {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-04-01 14:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01  8:38 [PATCH 1/3] drm/i915/display: Copy color pipeline from plane in the primary joiner pipe Chaitanya Kumar Borah
2026-04-01  8:38 ` [PATCH 2/3] drm/i915: Fix color blob reference handling in intel_plane_state Chaitanya Kumar Borah
2026-04-01  8:38 ` [PATCH 3/3] drm/i915/display: Do not program color pipeline for Y plane Chaitanya Kumar Borah
2026-04-01  9:10 ` ✓ CI.KUnit: success for series starting with [1/3] drm/i915/display: Copy color pipeline from plane in the primary joiner pipe Patchwork
2026-04-01  9:44 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-01 11:40 ` [PATCH 1/3] " Ville Syrjälä
2026-04-01 14:10   ` Borah, Chaitanya Kumar
2026-04-01 14:24     ` Ville Syrjälä
2026-04-01 14:37 ` ✗ Xe.CI.FULL: failure for series starting with [1/3] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox