diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-22 17:33:40 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-22 17:45:06 +0000 |
commit | 5b675f7b2f6487548a91c01eb9a7e36e808617b4 (patch) | |
tree | 8812e54f7fc5467635b7e9aaf1ccc503d3c87014 /lib/igt_gt.h | |
parent | e0ee36141ed1747f68580559a7cbfbeba902f05c (diff) |
lib: Refactor common detection of missed interrupts
As we have the same function in a few places to read the
debugfs/i915_ring_missed_irq file, move it to the core.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r-- | lib/igt_gt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h index 3d81ec95..4cf898a2 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -89,4 +89,6 @@ enum stop_ring_flags igt_get_stop_rings(void); int igt_setup_clflush(void); void igt_clflush_range(void *addr, int size); +unsigned intel_detect_and_clear_missed_interrupts(int fd); + #endif /* IGT_GT_H */ |