Skip to content

Enable multi-format testing for pipe color tests

Pranay Samala igt-dev 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 0 repliesNew
  2. v62 patches 0 repliesSuperseded
  3. v52 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v42 patches2 repliesSuperseded

Changes in v7 from the cover letter

- Rebase

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/kms_color: Prepare FB creation for explicit YUV color range handlingtests/kms_color.c+65 -600 replies
2/2tests/kms_color: Add multi-format coverage for pipe color teststests/kms_color.c+96 -530 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH i-g-t v7 0/2] Enable multi-format testing for pipe color tests

This series adds multi-format coverage to kms_color pipe color tests.

To ensure deterministic behavior across YUV formats, the first patch updates framebuffer creation to explicitly specify YCbCr encoding/range instead of relying on implicit defaults.

The second patch extends gamma, degamma, and CTM tests to run across multiple pixel formats at the dynamic subtest level. This adds coverage for format-dependent color pipeline behavior while avoiding redundant testing on platforms where only a single format is applicable.

v2:
- Add DRM_FORMAT_P010 format

v3:
- Update commit message (Swati)

v4:
- Split the patches (Swati)

v5:
- Consolidate format structure with bpc info (Swati)
- Move format support check out of dynamic subtest scope (Swati)
- Add a common FB helper to centralize framebuffer creation (Swati)
- Keep RGB formats on the existing igt_create_fb() path (Swati)
- Use explicit range/encoding only for YUV formats (Swati)

v6:
- Add FP16 format to the format list
- Combine declaration and assignment for mtk_10bpc_only (Swati)
- Use per-format depth in gamma/degamma tests for 10-bit accuracy (Swati)
- Rename fb creation helper name (Swati)
- Make YCbCr encoding and range explicit helper parameters (Swati)

v7:
- Rebase

Pranay Samala (2):
tests/kms_color: Prepare FB creation for explicit YUV color range
handling
tests/kms_color: Add multi-format coverage for pipe color tests

 tests/kms_color.c | 274 +++++++++++++++++++++++++++-------------------
 1 file changed, 161 insertions(+), 113 deletions(-)
Signature · 1 line
2.34.1