From 4d0d81a2176227a7432762ae095ba386f3c8aba0 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 19 Feb 2019 10:11:06 +0100 Subject: lib/crc: Reset fifo underrun reporting for every crc capture We have tons of issues with crc mismatches, but often by that time there was already a fifo underrun, which disables further fifo underrun reporting. Reset fifo underrun reporting before we capture a crc so that it's easier to figure out why the crc mismatch happened. Reviewed-by: Maarten Lankhorst Signed-off-by: Daniel Vetter --- lib/igt_debugfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_debugfs.h') diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index 1233cd8f..b9cf0f81 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -216,6 +216,8 @@ void igt_require_hpd_storm_ctl(int fd); DROP_FREED | \ DROP_IDLE) +void igt_reset_fifo_underrun_reporting(int drm_fd); + bool igt_drop_caches_has(int fd, uint64_t val); void igt_drop_caches_set(int fd, uint64_t val); -- cgit v1.2.3