lib/igt_debugfs: Throw away the two first CRCs

On CHV we sometimes see not just one but two bad CRCs. No real idea
what would cause that, but let's just throw away the second CRC as
well to gain some stability for the tests.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä 2014-12-09 15:27:59 +02:00
parent 01153e7d5f
commit 1b6eb414f3

View File

@ -425,8 +425,11 @@ void igt_pipe_crc_start(igt_pipe_crc_t *pipe_crc)
/*
* For some no yet identified reason, the first CRC is bonkers. So
* let's just wait for the next vblank and read out the buggy result.
*
* On CHV sometimes the second CRC is bonkers as well, so don't trust
* that one either.
*/
igt_pipe_crc_get_crcs(pipe_crc, 1, &crcs);
igt_pipe_crc_get_crcs(pipe_crc, 2, &crcs);
free(crcs);
}