From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Swati Sharma <swati2.sharma@intel.com>
Subject: [PATCH i-g-t 0/2] tests/kms_colorspace: Add Colorspace connector property test
Date: Mon, 27 Apr 2026 16:25:12 +0530 [thread overview]
Message-ID: <20260427105514.2239876-1-swati2.sharma@intel.com> (raw)
Add a new IGT test (kms_colorspace) for the DRM Colorspace connector
property. This is a basic sanity validation suite — it does NOT perform
pixel-level comparison or color-accuracy verification. Instead it
exercises the kernel interface to confirm that:
- The Colorspace enum property is exposed with expected values.
- Each colorspace value can be set and read back via atomic commit
(16 parameterized subtests per connector type).
- CRC sanity checks confirm the display output is not corrupted
when each colorspace value is active (no pixel comparison, just
ensuring the output remains valid).
- Colorspace survives DPMS off/on and suspend/resume cycles.
- Invalid enum values are correctly rejected with -EINVAL.
- HDMI-only enums are absent on DP connectors and vice-versa.
Patch 1 adds the Colorspace property plumbing in lib/igt_kms.
Patch 2 adds the kms_colorspace test with all subtests above.
Swati Sharma (2):
lib/igt_kms: Add Colorspace connector property support
tests/kms_colorspace: Add Colorspace connector property test
lib/igt_kms.c | 6 +
lib/igt_kms.h | 1 +
tests/kms_colorspace.c | 925 +++++++++++++++++++++++++++++++++++++++++
tests/meson.build | 3 +-
4 files changed, 934 insertions(+), 1 deletion(-)
create mode 100644 tests/kms_colorspace.c
--
2.25.1
next reply other threads:[~2026-04-27 10:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 10:55 Swati Sharma [this message]
2026-04-27 10:55 ` [PATCH i-g-t 1/2] lib/igt_kms: Add Colorspace connector property support Swati Sharma
2026-04-27 10:55 ` [PATCH i-g-t 2/2] tests/kms_colorspace: Add Colorspace connector property test Swati Sharma
2026-04-29 4:18 ` Bilal, Mohammed
2026-04-27 19:23 ` ✓ i915.CI.BAT: success for " Patchwork
2026-04-27 19:33 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-27 22:55 ` ✗ i915.CI.Full: failure " Patchwork
2026-04-27 23:37 ` ✓ Xe.CI.FULL: success " 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=20260427105514.2239876-1-swati2.sharma@intel.com \
--to=swati2.sharma@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