[PATCH i-g-t v5 0/4] validate color tests using chamelium.

Kunal Joshi kunal1.joshi at intel.com
Thu Jan 23 23:25:16 UTC 2020


For gen11+ platforms, there are frequent crc mismatch issues observed
in color tests. This is happening due to hardware limitation
(pipe rounding). One of the solutions to fix this is by rewriting
color tests and making them compatible with chamelium.

In this patch series, color tests are modified to have frame dump
comparison instead of crc comparison using chamelium hooks. This
will be useful even for future platforms. Also, with this approach
we could enable limited-range subtest which was commented in kms_color
because of crc mismatch.

Kunal Joshi (4):
  lib/igt_chamelium Added chamelium_frame_match_or_dumpn which returns
    bool that the captured frame matches with reference framebuffer
  Moved common function in kms_color and kms_color_chamelium to
    kms_color_helper.c
  tests/kms_color_chamelium: add subtests to validate color
  HAX: Run in BAT

 lib/igt_chamelium.c                   |  25 +-
 lib/igt_chamelium.h                   |   5 +
 tests/Makefile.am                     |   3 +
 tests/Makefile.sources                |  13 +-
 tests/intel-ci/fast-feedback.testlist | 241 +++--------
 tests/kms_color.c                     | 383 +----------------
 tests/kms_color.h                     | 105 +++++
 tests/kms_color_chamelium.c           | 759 ++++++++++++++++++++++++++++++++++
 tests/kms_color_helper.c              | 386 +++++++++++++++++
 tests/meson.build                     |  19 +-
 10 files changed, 1378 insertions(+), 561 deletions(-)
 create mode 100644 tests/kms_color.h
 create mode 100644 tests/kms_color_chamelium.c
 create mode 100644 tests/kms_color_helper.c

-- 
2.7.4



More information about the Intel-gfx-trybot mailing list