summaryrefslogtreecommitdiff
path: root/lib/igt_dummyload.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-12-17 17:22:43 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-12-17 22:22:19 +0000
commitb8b1391f7bfff83397ddc47c0083c2c7ed06be37 (patch)
tree780cea7a6ac2d5b224cf9b47741da66ce52bb5fc /lib/igt_dummyload.h
parented15a8d259429a77647c1d8691385f1b82915a13 (diff)
i915/perf_pmu: Exercise I915_PMU_SOFTWARE_GT_AWAKE_TIME
Measure the sample gt-awake time while each engine and every engine is busy. They should all report the same duration, the elapsed runtime of the batch. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Diffstat (limited to 'lib/igt_dummyload.h')
-rw-r--r--lib/igt_dummyload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_dummyload.h b/lib/igt_dummyload.h
index 3ece70a5..9e19ffab 100644
--- a/lib/igt_dummyload.h
+++ b/lib/igt_dummyload.h
@@ -107,6 +107,7 @@ static inline void igt_spin_busywait_until_started(igt_spin_t *spin)
void igt_terminate_spins(void);
void igt_unshare_spins(void);
+void igt_free_spins(int i915);
enum igt_cork_type {
CORK_SYNC_FD = 1,