public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] tests/kms_colorspace: Add Colorspace connector property test
@ 2026-04-27 10:55 Swati Sharma
  2026-04-27 10:55 ` [PATCH i-g-t 1/2] lib/igt_kms: Add Colorspace connector property support Swati Sharma
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Swati Sharma @ 2026-04-27 10:55 UTC (permalink / raw)
  To: igt-dev; +Cc: Swati Sharma

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-04-29  4:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 10:55 [PATCH i-g-t 0/2] tests/kms_colorspace: Add Colorspace connector property test Swati Sharma
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox