mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
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:
parent
01153e7d5f
commit
1b6eb414f3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user