public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2 0/2] validate color tests using chamelium.
@ 2020-01-16  6:19 Kunal Joshi
  2020-01-16  6:19 ` [igt-dev] [PATCH i-g-t v2 1/2] lib/igt_chamelium: added function returning a bool to compare framebuffer reference with framedump Kunal Joshi
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Kunal Joshi @ 2020-01-16  6:19 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi, ville.syrjala, petri.latvala, daniel.vetter

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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-20  7:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-16  6:19 [igt-dev] [PATCH i-g-t v2 0/2] validate color tests using chamelium Kunal Joshi
2020-01-16  6:19 ` [igt-dev] [PATCH i-g-t v2 1/2] lib/igt_chamelium: added function returning a bool to compare framebuffer reference with framedump Kunal Joshi
2020-01-16  6:19 ` [igt-dev] [PATCH i-g-t v2 2/2] tests/kms_color_chamelium: add subtests to validate color Kunal Joshi
2020-01-20  7:38   ` Shankar, Uma
2020-01-16 15:03 ` [igt-dev] ✓ Fi.CI.BAT: success for validate color tests using chamelium. (rev2) Patchwork
2020-01-19  7:07 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox