Skip to content

Chamelium v3 Integration and Test Execution

Mohammed Bilal igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25lib/igt_kms: Add a detect timeout valuelib/igt_core.c lib/igt_kms.c lib/igt_kms.h+92 -453 replies
2/25lib/igt_kms: Add helper to wait for a specific status on a connectorlib/igt_kms.c lib/igt_kms.h+42 -00 replies
3/25lib/igt_kms: Add function to list connected connectorslib/igt_kms.c lib/igt_kms.h+66 -00 replies
4/25lib/igt_kms: Add helper to obtain a connector by its name or MST pathlib/igt_kms.c lib/igt_kms.h+111 -00 replies
5/25lib/igt_kms: Add function to get valid pipe for specific outputlib/igt_kms.c lib/igt_kms.h+23 -01 reply
6/25lib/monitor_edids: Add helper functions for using monitor_edid objectslib/monitor_edids/dp_edids.h lib/monitor_edids/hdmi_edids.h lib/monitor_edids/monitor_edids_helper.c +1 more+92 -10 replies
7/25lib/monitor_edids: Add helper to get an EDID by its namelib/monitor_edids/monitor_edids_helper.c lib/monitor_edids/monitor_edids_helper.h+31 -01 reply
8/25lib/monitor_edids: Add helper to print all available EDID nameslib/monitor_edids/monitor_edids_helper.c lib/monitor_edids/monitor_edids_helper.h+19 -00 replies
9/25lib/monitor_edids: Fix missing names in some monitor EDIDlib/monitor_edids/hdmi_edids.h+3 -30 replies
10/25lib/monitor_edids: Add new EDID for HDMI 4klib/monitor_edids/hdmi_edids.h+17 -10 replies
11/25tests/chamelium: Extract Chamelium v2 tests into a separate directorytests/chamelium/v2/kms_chamelium_audio.c tests/chamelium/v2/kms_chamelium_color.c tests/chamelium/v2/kms_chamelium_edid.c +6 more+7 -70 replies
12/25lib/chamelium/v2: Extract chamelium v2 wrapper into its own directorylib/chamelium/v2/igt_chamelium.c lib/chamelium/v2/igt_chamelium.h lib/chamelium/v2/igt_chamelium_stream.c +7 more+12 -90 replies
13/25lib/chamelium/v2: Rename chamelium to chamelium_v2.gitlab-ci.yml docs/testplan/meson.build lib/meson.build +4 more+21 -210 replies
14/25lib/chamelium/v2: Rename HAVE_CHAMELIUM to HAVE_CHAMELIUM_V2lib/igt.h lib/igt_kms.c meson.build +3 more+10 -100 replies
15/25lib/chamelium/v3: Introduce the foundation for the Chamelium v3 wrapperlib/chamelium/v3/igt_chamelium.c lib/chamelium/v3/igt_chamelium.h lib/igt_kms.c +5 more+83 -20 replies
16/25lib/chamelium/v3: Introduce initialization and cleanup of Chamelium-related structureslib/chamelium/v3/igt_chamelium.c lib/chamelium/v3/igt_chamelium.h+183 -40 replies
17/25lib/chamelium/v3: Add method to discover Chamelium portslib/chamelium/v3/igt_chamelium.c lib/chamelium/v3/igt_chamelium.h+139 -00 replies
18/25lib/chamelium/v3: Implement method to retrieve Chamelium port nameslib/chamelium/v3/igt_chamelium.c lib/chamelium/v3/igt_chamelium.h+26 -00 replies
19/25tests/chamelium/v3: Implement a basic Chamelium v3 accessibility testtests/chamelium/v3/kms_chamelium_v3_basic.c tests/meson.build+31 -00 replies
20/25lib/chamelium/v3: Add extended API for Chamelium v3 HPD, EDID, Frames, Color & Audiolib/chamelium/v3/igt_chamelium.c lib/chamelium/v3/igt_chamelium.h+1155 -21 reply
21/25tests/chamelium/v3: Add HPD (Hot Plug Detect) tests for Chamelium v3tests/chamelium/v3/kms_chamelium_v3_hpd.c tests/meson.build+929 -00 replies
22/25tests/chamelium/v3: Add EDID tests for Chamelium v3tests/chamelium/v3/kms_chamelium_v3_edid.c tests/meson.build+1358 -00 replies
23/25tests/chamelium/v3: Add frame capture and CRC tests for Chamelium v3tests/chamelium/v3/kms_chamelium_v3_frames.c tests/meson.build+1552 -00 replies
24/25tests/chamelium/v3: Add color verification tests for Chamelium v3tests/chamelium/v3/kms_chamelium_v3_color.c tests/meson.build+1059 -00 replies
25/25tests/chamelium/v3: Add audio tests for Chamelium v3tests/chamelium/v3/kms_chamelium_v3_audio.c tests/meson.build+708 -00 replies

Reviews trailers per patch

9 of 25 patches have a Reviewed-by or Acked-by.

PatchKory MaincentLuca CeresoliKamil Konieczny
1/25R-b R-b
2/25R-b R-b
3/25R-b R-b
4/25R-b R-b
5/25
6/25R-b R-b
7/25R-b R-b
8/25R-b R-b
9/25A-b
10/25A-b
11/25
12/25
13/25
14/25
15/25
16/25
17/25
18/25
19/25
20/25
21/25
22/25
23/25
24/25
25/25

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH i-g-t v1 00/25] Chamelium v3 Integration and Test Execution

Integrate Chamelium v3 hardware support for display testing. This includes the Chamelium v3 library implementation, building with v3 support enabled, and comprehensive display tests for HPD, EDID, frames, color, and audio.

Changes included:

1. Library helpers (patches 1-10):
- Add connector detection and management helpers
- Add monitor EDID management helpers
- Add HDMI 4K EDID support

2. V2 reorganization (patches 11-14):
- Move existing V2 code to lib/chamelium/v2/ and tests/chamelium/v2/
- Rename V2 symbols to allow V2 and V3 to coexist

3. V3 library (patches 15-20):
- Add Chamelium V3 library implementation
- Support for HPD, EDID, frame capture, color and audio

4. V3 tests (patches 21-25):
- kms_chamelium_v3_basic: Basic connectivity test
- kms_chamelium_v3_hpd: Hot plug detect tests
- kms_chamelium_v3_edid: EDID verification tests
- kms_chamelium_v3_frames: Frame capture and CRC tests
- kms_chamelium_v3_color: Color verification tests
- kms_chamelium_v3_audio: Audio tests

Louis Chauvet (19):
lib/igt_kms: Add a detect timeout value
lib/igt_kms: Add helper to wait for a specific status on a connector lib/igt_kms: Add function to list connected connectors lib/igt_kms: Add helper to obtain a connector by its name or MST path lib/igt_kms: Add function to get valid pipe for specific output lib/monitor_edids: Add helper functions for using monitor_edid objects lib/monitor_edids: Add helper to get an EDID by its name lib/monitor_edids: Add helper to print all available EDID names lib/monitor_edids: Fix missing names in some monitor EDID lib/monitor_edids: Add new EDID for HDMI 4k tests/chamelium: Extract Chamelium v2 tests into a separate directory lib/chamelium/v2: Extract chamelium v2 wrapper into its own directory lib/chamelium/v2: Rename chamelium to chamelium_v2 lib/chamelium/v2: Rename HAVE_CHAMELIUM to HAVE_CHAMELIUM_V2 lib/chamelium/v3: Introduce the foundation for the Chamelium v3
wrapper
lib/chamelium/v3: Introduce initialization and cleanup of
Chamelium-related structures
lib/chamelium/v3: Add method to discover Chamelium ports lib/chamelium/v3: Implement method to retrieve Chamelium port names tests/chamelium/v3: Implement a basic Chamelium v3 accessibility test

Mohammed Bilal (6):
lib/chamelium/v3: Add extended API for Chamelium v3 HPD, EDID, Frames,
Color & Audio
tests/chamelium/v3: Add HPD (Hot Plug Detect) tests for Chamelium v3 tests/chamelium/v3: Add EDID tests for Chamelium v3 tests/chamelium/v3: Add frame capture and CRC tests for Chamelium v3 tests/chamelium/v3: Add color verification tests for Chamelium v3 tests/chamelium/v3: Add audio tests for Chamelium v3

 .gitlab-ci.yml                                |    2 +-
 docs/testplan/meson.build                     |    4 +-
 lib/{ => chamelium/v2}/igt_chamelium.c        |    2 +-
 lib/{ => chamelium/v2}/igt_chamelium.h        |    0
 lib/{ => chamelium/v2}/igt_chamelium_stream.c |    2 +-
 lib/{ => chamelium/v2}/igt_chamelium_stream.h |    0
 lib/chamelium/v3/igt_chamelium.c              | 1267 ++++++++++++++
 lib/chamelium/v3/igt_chamelium.h              |  247 +++
 lib/igt.h                                     |    6 +-
 lib/igt_core.c                                |    4 +
 lib/igt_kms.c                                 |  371 +++-
 lib/igt_kms.h                                 |   18 +
 lib/meson.build                               |   21 +-
 lib/monitor_edids/dp_edids.h                  |    3 +
 lib/monitor_edids/hdmi_edids.h                |   27 +-
 lib/monitor_edids/monitor_edids_helper.c      |  127 ++
 lib/monitor_edids/monitor_edids_helper.h      |   12 +-
 lib/tests/meson.build                         |    8 +-
 meson.build                                   |   31 +-
 meson_options.txt                             |    8 +-
 .../chamelium/{ => v2}/kms_chamelium_audio.c  |    0
 .../chamelium/{ => v2}/kms_chamelium_color.c  |    0
 tests/chamelium/{ => v2}/kms_chamelium_edid.c |    2 +-
 .../chamelium/{ => v2}/kms_chamelium_frames.c |    0
 .../chamelium/{ => v2}/kms_chamelium_helper.c |    0
 .../chamelium/{ => v2}/kms_chamelium_helper.h |    0
 tests/chamelium/{ => v2}/kms_chamelium_hpd.c  |    0
 .../{ => v2}/kms_chamelium_sharpness_filter.c |    0
 tests/chamelium/v3/kms_chamelium_v3_audio.c   |  707 ++++++++
 tests/chamelium/v3/kms_chamelium_v3_basic.c   |   30 +
 tests/chamelium/v3/kms_chamelium_v3_color.c   | 1058 +++++++++++
 tests/chamelium/v3/kms_chamelium_v3_edid.c    | 1357 ++++++++++++++
 tests/chamelium/v3/kms_chamelium_v3_frames.c  | 1551 +++++++++++++++++
 tests/chamelium/v3/kms_chamelium_v3_hpd.c     |  928 ++++++++++
 tests/kms_color_helper.h                      |    2 +-
 tests/kms_feature_discovery.c                 |    6 +-
 tests/kms_tiled_display.c                     |    6 +-
 tests/meson.build                             |   53 +-
 38 files changed, 7762 insertions(+), 98 deletions(-)
 rename lib/{ => chamelium/v2}/igt_chamelium.c (99%)
 rename lib/{ => chamelium/v2}/igt_chamelium.h (100%)
 rename lib/{ => chamelium/v2}/igt_chamelium_stream.c (99%)
 rename lib/{ => chamelium/v2}/igt_chamelium_stream.h (100%)
 create mode 100644 lib/chamelium/v3/igt_chamelium.c
 create mode 100644 lib/chamelium/v3/igt_chamelium.h
 rename tests/chamelium/{ => v2}/kms_chamelium_audio.c (100%)
 rename tests/chamelium/{ => v2}/kms_chamelium_color.c (100%)
 rename tests/chamelium/{ => v2}/kms_chamelium_edid.c (99%)
 rename tests/chamelium/{ => v2}/kms_chamelium_frames.c (100%)
 rename tests/chamelium/{ => v2}/kms_chamelium_helper.c (100%)
 rename tests/chamelium/{ => v2}/kms_chamelium_helper.h (100%)
 rename tests/chamelium/{ => v2}/kms_chamelium_hpd.c (100%)
 rename tests/chamelium/{ => v2}/kms_chamelium_sharpness_filter.c (100%)
 create mode 100644 tests/chamelium/v3/kms_chamelium_v3_audio.c
 create mode 100644 tests/chamelium/v3/kms_chamelium_v3_basic.c
 create mode 100644 tests/chamelium/v3/kms_chamelium_v3_color.c
 create mode 100644 tests/chamelium/v3/kms_chamelium_v3_edid.c
 create mode 100644 tests/chamelium/v3/kms_chamelium_v3_frames.c
 create mode 100644 tests/chamelium/v3/kms_chamelium_v3_hpd.c
Signature · 1 line
2.48.1