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 1/5] include/drm-uapi: Add DRM_COLOROP_CSC_FF definition
Date: Mon, 30 Mar 2026 17:20:53 +0530 [thread overview]
Message-ID: <20260330115057.963395-2-swati2.sharma@intel.com> (raw)
In-Reply-To: <20260330115057.963395-1-swati2.sharma@intel.com>
Add DRM_COLOROP_CSC_FF to the colorop type enumeration. This colorop
type represents a fixed-function Color Space Conversion block where the
coefficients are not programmable but selected from predefined hardware
modes via the CSC_FF_TYPE enum property.
Aligns with kernel commit introducing the CSC Fixed-Function colorop
type for Intel display hardware.
Co-developed-by: Claude Opus 4.6
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
include/drm-uapi/drm_mode.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/drm-uapi/drm_mode.h b/include/drm-uapi/drm_mode.h
index de10ce859..610513f3c 100644
--- a/include/drm-uapi/drm_mode.h
+++ b/include/drm-uapi/drm_mode.h
@@ -934,6 +934,18 @@ enum drm_colorop_type {
* LUT size is advertised via the SIZE property.
*/
DRM_COLOROP_3D_LUT,
+
+ /**
+ * @DRM_COLOROP_CSC_FF:
+ *
+ * enum string "CSC Fixed-Function"
+ *
+ * A fixed-function Color Space Conversion block where the coefficients
+ * are not programmable but selected from predefined hardware modes via
+ * the CSC_FF_TYPE enum property. The driver advertises the supported
+ * CSC modes through this property.
+ */
+ DRM_COLOROP_CSC_FF,
};
/**
--
2.25.1
next prev 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 ` Swati Sharma [this message]
2026-03-30 11:50 ` [RFC PATCH i-g-t 2/5] lib/igt_kms: Add CSC_FF_TYPE colorop property Swati Sharma
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-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