[igt-dev] [PATCH i-g-t v3 0/3] validate color tests using chamelium.
Kunal Joshi
kunal1.joshi at intel.com
Tue Jan 21 05:54:12 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 (3):
lib/igt_chamelium Added chamelium_frame_match_or_dump which returns
bool that the captured frame matches
lib/igt_color Moved kms_color functions to lib/igt_color to git avoid
code duplication
tests/kms_color_chamelium: add subtests to validate color
lib/Makefile.sources | 2 +
lib/igt_chamelium.c | 65 ++++
lib/igt_chamelium.h | 5 +
lib/igt_color.c | 386 ++++++++++++++++++++++
lib/igt_color.h | 105 ++++++
tests/Makefile.am | 1 +
tests/kms_color_chamelium.c | 759 ++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 1323 insertions(+)
create mode 100644 lib/igt_color.c
create mode 100644 lib/igt_color.h
create mode 100644 tests/kms_color_chamelium.c
--
2.7.4
More information about the igt-dev
mailing list