[PATCH i-g-t 0/6] Add FIXED_MATRIX colorop tests
Swati Sharma <[email protected]> Tue, 28 Jul 2026 00:25:25 +0530
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
Add support for testing the DRM FIXED_MATRIX colorop type, which selects from predefined hardware color space conversion matrices rather than programmable coefficients. The series adds: - UAPI definition for DRM_COLOROP_FIXED_MATRIX - FIXED_MATRIX_TYPE property support in igt_kms - Colorop helper support for configuring FIXED_MATRIX blocks - Pipe-CRC based tests in kms_color_pipeline - Chamelium frame-capture based tests in kms_chamelium_color_pipeline Supported FIXED_MATRIX modes: - YCbCr 601 Full NC to RGB - YCbCr 709 Full NC to RGB - YCbCr 2020 Full NC to RGB - YCbCr limited to full - RGB709 to RGB2020 The tests validate standalone FIXED_MATRIX, FIXED_MATRIX + 1D LUT, 1D LUT + FIXED_MATRIX + 1D LUT, and YCbCr range correction pipelines matching the SDR plane hardware pipeline structure. Swati Sharma (6): include/drm-uapi: Add DRM_COLOROP_FIXED_MATRIX definition lib/igt_kms: Add FIXED_MATRIX_TYPE colorop property tests/kms_colorop_helper: Add FIXED_MATRIX colorop support tests/kms_color_pipeline: Add FIXED_MATRIX colorop tests tests/kms_color_pipeline: Remove unused color_depth and drm_format tests/kms_chamelium_color_pipeline: Add FIXED_MATRIX colorop tests include/drm-uapi/drm_mode.h | 11 + lib/igt_kms.c | 1 + lib/igt_kms.h | 1 + .../chamelium/kms_chamelium_color_pipeline.c | 339 +++++++++++++++ tests/kms_color_pipeline.c | 391 +++++++++++++++++- tests/kms_colorop_helper.c | 20 + tests/kms_colorop_helper.h | 20 +- 7 files changed, 776 insertions(+), 7 deletions(-) -- 2.25.1