summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/igt_debugfs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index 0b098eed..b44333e8 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -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);
}