From: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: ville.syrjala@linux.intel.com, uma.shankar@intel.com,
chaitanya.kumar.borah@intel.com, pranay.samala@intel.com,
stable@vger.kernel.org, Vidya Srinivas <vidya.srinivas@intel.com>
Subject: [PATCH v3 1/4] drm/i915/display: Copy color pipeline from plane in the primary joiner pipe
Date: Mon, 11 May 2026 11:02:10 +0530 [thread overview]
Message-ID: <20260511053213.3122314-2-chaitanya.kumar.borah@intel.com> (raw)
In-Reply-To: <20260511053213.3122314-1-chaitanya.kumar.borah@intel.com>
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")
Tested-by: Vidya Srinivas <vidya.srinivas@intel.com>
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 c181a7d063ec..e403fe4a8a20 100644
--- a/drivers/gpu/drm/i915/display/intel_plane.c
+++ b/drivers/gpu/drm/i915/display/intel_plane.c
@@ -396,7 +396,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
next prev parent reply other threads:[~2026-05-11 5:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 5:32 [PATCH v3 0/4] More Fixes for color pipeline Chaitanya Kumar Borah
2026-05-11 5:32 ` Chaitanya Kumar Borah [this message]
2026-05-12 9:58 ` [PATCH v3 1/4] drm/i915/display: Copy color pipeline from plane in the primary joiner pipe Shankar, Uma
2026-05-11 5:32 ` [PATCH v3 2/4] drm/i915/display: Don’t use atomic state back-pointer to derive color pipeline Chaitanya Kumar Borah
2026-05-11 5:32 ` [PATCH v3 3/4] drm/i915: Avoid programming color HW blocks for NV12 Y planes Chaitanya Kumar Borah
2026-05-12 10:51 ` Jani Nikula
2026-05-11 5:32 ` [PATCH v3 4/4] drm/i915: Fix color blob reference handling in intel_plane_state Chaitanya Kumar Borah
2026-05-11 13:35 ` ✗ CI.checkpatch: warning for More Fixes for color pipeline Patchwork
2026-05-11 13:38 ` ✓ CI.KUnit: success " Patchwork
2026-05-11 14:47 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-11 16:02 ` ✓ Xe.CI.FULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260511053213.3122314-2-chaitanya.kumar.borah@intel.com \
--to=chaitanya.kumar.borah@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=pranay.samala@intel.com \
--cc=stable@vger.kernel.org \
--cc=uma.shankar@intel.com \
--cc=vidya.srinivas@intel.com \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox