[igt-dev] [PATCH i-g-t v2 0/2] validate color tests using chamelium.

Kunal Joshi kunal1.joshi at intel.com
Thu Jan 16 06:19:56 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 (2):
  lib/igt_chamelium: added function returning a bool to compare
    framebuffer reference with framedump.
  tests/kms_color_chamelium: add subtests to validate color.

 lib/igt_chamelium.c         |   65 +++
 lib/igt_chamelium.h         |    5 +
 tests/Makefile.am           |    1 +
 tests/kms_color_chamelium.c | 1130 +++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build           |    1 +
 5 files changed, 1202 insertions(+)
 create mode 100644 tests/kms_color_chamelium.c

-- 
2.7.4



More information about the igt-dev mailing list