RFC CSC Colorop tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | include/drm-uapi: Add DRM_COLOROP_CSC definitioninclude/ | +1 | 0 replies | |
| 2/10 | lib/igt_kms: Add CSC colorop infrastructurelib/ lib/ tests/ +1 more | +20 | 0 replies | |
| 3/10 | lib/igt_fb: Add YUV color pattern framebuffer supportlib/ lib/ | +50 | 0 replies | |
| 4/10 | lib/igt_color_encoding: Add XRGB2101010 format supportlib/ | +1 | 0 replies | |
| 5/10 | lib/igt_color: Add YUV pixel reading supportlib/ | +104 | 0 replies | |
| 6/10 | lib/igt_color: Add CSC transform functions for YUV to RGBlib/ lib/ tests/ | +206 | 0 replies | |
| 7/10 | tests/kms_colorop: Add CSC colorop teststests/ tests/ tests/ | +256 | 0 replies | |
| 8/10 | tests/kms_colorop: Keep CRTC active between YUV tests with temp FBtests/ | +17 | 0 replies | |
| 9/10 | tests/kms_colorop: Add bypass transition teststests/ | +121 | 0 replies | |
| 10/10 | tests/kms_colorop: Increase VKMS bracket to 3 uptests/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 00/10] CSC Colorop tests
I'm introducing a new color-space conversion (CSC) colorop with the kernel patches in this kernel branch:
https://gitlab.freedesktop.org/hwentland/linux/-/tree/csc-colorop
These patches add the functionality to IGT to test NV12 and P010 buffers with the kms_colorop tests, and add corresponding tests for CSC to kms_colorop.
These test work on amdgpu (P010-XR30 variants) and VKMS (NV12-XR24 variants).
On AMD HW a couple extra driver fixes are needed. They can be found at this kernel tree:
https://gitlab.freedesktop.org/hwentland/linux/-/tree/csc-colorop-all
Some more background on this work can be found at:
https://hwentland.github.io/2026/03/10/plane-color-pipeline-csc-3d-lut-kwin.html
Harry Wentland (10):
include/drm-uapi: Add DRM_COLOROP_CSC definition lib/igt_kms: Add CSC colorop infrastructure
lib/igt_fb: Add YUV color pattern framebuffer support lib/igt_color_encoding: Add XRGB2101010 format support lib/igt_color: Add YUV pixel reading support lib/igt_color: Add CSC transform functions for YUV to RGB tests/kms_colorop: Add CSC colorop tests tests/kms_colorop: Keep CRTC active between YUV tests with temp FB tests/kms_colorop: Add bypass transition tests tests/kms_colorop: Increase VKMS bracket to 3 up
include/drm-uapi/drm_mode.h | 1 + lib/igt_color.c | 302 ++++++++++++++++++++++--- lib/igt_color.h | 10 +- lib/igt_color_encoding.c | 1 + lib/igt_fb.c | 44 ++++ lib/igt_fb.h | 6 + lib/igt_kms.c | 2 + lib/igt_kms.h | 2 + tests/kms_colorop.c | 432 +++++++++++++++++++++++++++++------- tests/kms_colorop_helper.c | 48 ++++ tests/kms_colorop_helper.h | 13 +- 11 files changed, 749 insertions(+), 112 deletions(-)
--
2.53.0