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: [PATCH i-g-t, v5 1/7] lib/igt_kms: Rename IGT_COLOROP_FIXED_MATRIX to IGT_COLOROP_FIXED_MATRIX_TYPE
Date: Tue, 1 Sep 2026 00:59:29 +0530 [thread overview]
Message-ID: <20260831192935.463134-2-swati2.sharma@intel.com> (raw)
In-Reply-To: <20260831192935.463134-1-swati2.sharma@intel.com>
Rename the enum/prop name to match the actual DRM colorop property
name "FIXED_MATRIX_TYPE" and update its users accordingly.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Assisted-by: GitHub Copilot
---
lib/igt_kms.c | 2 +-
lib/igt_kms.h | 2 +-
tests/kms_colorop_helper.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 2d78e3bee..1e27a25f6 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -725,7 +725,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_FIXED_MATRIX] = "FIXED_MATRIX_TYPE",
+ [IGT_COLOROP_FIXED_MATRIX_TYPE] = "FIXED_MATRIX_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 695f666ba..c8fa11b47 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -363,7 +363,7 @@ enum igt_atomic_colorop_properties {
IGT_COLOROP_MULTIPLIER,
IGT_COLOROP_LUT3D_INTERPOLATION,
IGT_COLOROP_NEXT,
- IGT_COLOROP_FIXED_MATRIX,
+ IGT_COLOROP_FIXED_MATRIX_TYPE,
IGT_NUM_COLOROP_PROPS
};
diff --git a/tests/kms_colorop_helper.c b/tests/kms_colorop_helper.c
index 3243d01d3..f58f629f5 100644
--- a/tests/kms_colorop_helper.c
+++ b/tests/kms_colorop_helper.c
@@ -263,7 +263,7 @@ static bool can_use_colorop(igt_display_t *display, igt_colorop_t *colorop, kms_
return (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_3D_LUT);
case KMS_COLOROP_FIXED_MATRIX:
if (igt_colorop_get_prop(display, colorop, IGT_COLOROP_TYPE) == DRM_COLOROP_FIXED_MATRIX &&
- igt_colorop_try_prop_enum(colorop, IGT_COLOROP_FIXED_MATRIX, desired->fixed_matrix_info.fixed_matrix_type_name))
+ igt_colorop_try_prop_enum(colorop, IGT_COLOROP_FIXED_MATRIX_TYPE, desired->fixed_matrix_info.fixed_matrix_type_name))
return true;
return false;
default:
@@ -411,7 +411,7 @@ static void set_colorop(igt_display_t *display, kms_colorop_t *colorop)
configure_3dlut(display, colorop, lut_size);
break;
case KMS_COLOROP_FIXED_MATRIX:
- igt_colorop_set_prop_enum(colorop->colorop, IGT_COLOROP_FIXED_MATRIX,
+ igt_colorop_set_prop_enum(colorop->colorop, IGT_COLOROP_FIXED_MATRIX_TYPE,
colorop->fixed_matrix_info.fixed_matrix_type_name);
break;
default:
--
2.25.1
next prev parent reply other threads:[~2026-08-31 19:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 19:29 [PATCH i-g-t,v5 0/7] Add FIXED_MATRIX colorop tests Swati Sharma
2026-08-31 19:29 ` Swati Sharma [this message]
2026-09-09 10:27 ` [PATCH i-g-t, v5 1/7] lib/igt_kms: Rename IGT_COLOROP_FIXED_MATRIX to IGT_COLOROP_FIXED_MATRIX_TYPE Borah, Chaitanya Kumar
2026-08-31 19:29 ` [PATCH i-g-t, v5 2/7] lib/igt_kms: Order IGT_COLOROP_FIXED_MATRIX_TYPE before IGT_COLOROP_NEXT Swati Sharma
2026-09-09 10:27 ` [PATCH i-g-t,v5 " Borah, Chaitanya Kumar
2026-08-31 19:29 ` [PATCH i-g-t, v5 3/7] tests/kms_colorop_helper: Add Fixed Matrix enum names table Swati Sharma
2026-09-09 10:28 ` [PATCH i-g-t,v5 " Borah, Chaitanya Kumar
2026-08-31 19:29 ` [PATCH i-g-t, v5 4/7] tests/kms_color_pipeline: Add FIXED_MATRIX colorop tests Swati Sharma
2026-09-09 10:29 ` [PATCH i-g-t,v5 " Borah, Chaitanya Kumar
2026-08-31 19:29 ` [PATCH i-g-t, v5 5/7] tests/kms_color_pipeline: Remove unused color_depth and drm_format Swati Sharma
2026-08-31 19:29 ` [PATCH i-g-t, v5 6/7] tests/kms_chamelium_color_pipeline: Add FIXED_MATRIX colorop tests Swati Sharma
2026-09-09 10:29 ` [PATCH i-g-t,v5 " Borah, Chaitanya Kumar
2026-08-31 19:29 ` [PATCH i-g-t, v5 7/7] tests/chamelium/kms_chamelium_color_pipeline: Fix CRTC naming Swati Sharma
2026-09-09 10:30 ` [PATCH i-g-t,v5 " Borah, Chaitanya Kumar
2026-09-01 19:21 ` ✓ Xe.CI.BAT: success for Add FIXED_MATRIX colorop tests (rev5) Patchwork
2026-09-01 19:51 ` ✓ i915.CI.BAT: " Patchwork
2026-09-02 5:27 ` ✗ 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=20260831192935.463134-2-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