Skip to content

CRC testing with Chamelium improvements

Paul Kocialkowski intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 8 repliesIn review
  2. v47 patches 4 repliesSuperseded

Changes in v5 from the cover letter

* Moved igt_get_cairo_surface out of the thread function to properly handle assert failure
* Rebased on top of current master

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7lib/igt_fb: Export the cairo surface instead of writing to a pnglib/igt_chamelium.c lib/igt_fb.c lib/igt_fb.h+15 -300 replies
2/7chamelium: Calculate CRC from framebuffer instead of hardcoding itlib/igt_chamelium.c lib/igt_chamelium.h tests/chamelium.c+167 -580 replies
3/7lib/igt_debugfs: Introduce CRC check function, with logic made commonlib/igt_debugfs.c lib/igt_debugfs.h+51 -30 replies
4/7Introduce common frame dumping configuration and helperslib/Makefile.sources lib/igt.h lib/igt_core.c +3 more+196 -12 replies
5/7lib/igt_debugfs: Add extended helper to format crc to stringlib/igt_debugfs.c lib/igt_debugfs.h+24 -40 replies
6/7chamelium: Dump captured and reference frames to png on crc errorlib/igt_chamelium.c lib/igt_chamelium.h tests/chamelium.c+95 -40 replies
7/7tests/chamelium: Merge the crc testing functions into onetests/chamelium.c+8 -640 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLyude
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH i-g-t v5 0/7] CRC testing with Chamelium improvements

Changes since v4:
* Moved igt_get_cairo_surface out of the thread function to properly handle assert failure
* Rebased on top of current master

Changes since v3:
* Renamed structure used by async crc calculation for more clarity
* Used const qualifier for untouched buffer when hashing
* Split actual calculation to a dedicated function
* Reworked async functions names for more clarity
* Reworked descriptions for better accuracy
* Exported framebuffer cairo surface and use it directly instead of (unused) png dumping
* Fix how the framebuffer cairo surface is obtained to avoid destroying it too early

* Made CRC checking logic common
* Added a check for the same number of words
* Made frame dumping configuration and helpers common
* Added an extended crc to string helper
* Added a chamelium helper for crc checking and frame dumping
* Split the merging of crc functions to a separate patch
* Added support for frame dump path global variable
* Added listing the dumped images in a file, possibly identified with an id global variable

The latter allows having one "dump report" file per run, possibly identified with the id global variable, that indicates which files are the output, while keeping the possibility to have the same files for different runs. This allows saving significant disk space when the images are identified with e.g. their crc, so that duplicate results only lead to duplicate dump reports and not duplicate images.

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx