public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: chaitanya.kumar.borah@intel.com, Swati Sharma <swati2.sharma@intel.com>
Subject: [RFC PATCH i-g-t 2/5] lib/igt_kms: Add CSC_FF_TYPE colorop property
Date: Mon, 30 Mar 2026 17:20:54 +0530	[thread overview]
Message-ID: <20260330115057.963395-3-swati2.sharma@intel.com> (raw)
In-Reply-To: <20260330115057.963395-1-swati2.sharma@intel.com>

Add IGT_COLOROP_CSC_FF_TYPE to the colorop property enumeration and
register the "CSC_FF_TYPE" property name string. This enables IGT
to discover and configure the CSC_FF_TYPE enum property on CSC
fixed-function colorops exposed by the driver.

Co-developed-by: Claude Opus 4.6
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 lib/igt_kms.c | 1 +
 lib/igt_kms.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 8c42909fc..92970d983 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -716,6 +716,7 @@ const char * const igt_colorop_prop_names[IGT_NUM_COLOROP_PROPS] = {
 	[IGT_COLOROP_MULTIPLIER] = "MULTIPLIER",
 	[IGT_COLOROP_LUT3D_INTERPOLATION] = "LUT3D_INTERPOLATION",
 	[IGT_COLOROP_NEXT] = "NEXT",
+	[IGT_COLOROP_CSC_FF_TYPE] = "CSC_FF_TYPE",
 };
 
 const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index b3def1e73..467a25d7d 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -359,6 +359,7 @@ enum igt_atomic_colorop_properties {
 	IGT_COLOROP_MULTIPLIER,
 	IGT_COLOROP_LUT3D_INTERPOLATION,
 	IGT_COLOROP_NEXT,
+	IGT_COLOROP_CSC_FF_TYPE,
 	IGT_NUM_COLOROP_PROPS
 };
 
-- 
2.25.1


  parent reply	other threads:[~2026-03-30 11:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-30 11:50 [RFC PATCH i-g-t 0/5] Add CSC Fixed-Function (CSC_FF) colorop tests Swati Sharma
2026-03-30 11:50 ` [RFC PATCH i-g-t 1/5] include/drm-uapi: Add DRM_COLOROP_CSC_FF definition Swati Sharma
2026-03-30 11:50 ` Swati Sharma [this message]
2026-03-30 11:50 ` [RFC PATCH i-g-t 3/5] tests/kms_colorop_helper: Add CSC_FF colorop support Swati Sharma
2026-03-30 11:50 ` [RFC PATCH i-g-t 4/5] tests/kms_color_pipeline: Add CSC_FF colorop tests Swati Sharma
2026-03-30 11:50 ` [RFC PATCH i-g-t 5/5] tests/kms_color_pipeline: Remove unused color_depth and drm_format Swati Sharma
2026-03-31  2:55 ` ✓ i915.CI.BAT: success for Add CSC Fixed-Function (CSC_FF) colorop tests Patchwork
2026-03-31  2:56 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-31  7:45 ` ✓ Xe.CI.FULL: " Patchwork
2026-03-31 11:35 ` ✗ i915.CI.Full: failure " 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=20260330115057.963395-3-swati2.sharma@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=chaitanya.kumar.borah@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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