summaryrefslogtreecommitdiff
path: root/lib/igt.h
diff options
context:
space:
mode:
authorAbdiel Janulgue <abdiel.janulgue@linux.intel.com>2016-10-11 21:30:08 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2016-11-29 11:32:44 +0000
commit35fa2ca73b6b9682d0f3366b0cb4e82ac6c340ec (patch)
treef0d01bc2e78082416226e1838f2444582cd3d9a2 /lib/igt.h
parentd57ae360b32c4edfb88e9a0400ec5ec3a3e6959f (diff)
lib: add igt_dummyload
A lot of igt testcases need some GPU workload to make sure a race window is big enough. Unfortunately having a fixed amount of workload leads to spurious test failures or overly long runtimes on some fast/slow platforms. This library contains functionality to submit GPU workloads that should consume exactly a specific amount of time. Since v14: Since we are using multiple signals, walk list of batches to terminate a batch to avoid using a single global batch. Cycle signals between SIGRTMIN and SIGRTMAX properly. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: tomeu@tomeuvizoso.net Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Diffstat (limited to 'lib/igt.h')
-rw-r--r--lib/igt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt.h b/lib/igt.h
index d751f243..a0028d5e 100644
--- a/lib/igt.h
+++ b/lib/igt.h
@@ -32,6 +32,7 @@
#include "igt_core.h"
#include "igt_debugfs.h"
#include "igt_draw.h"
+#include "igt_dummyload.h"
#include "igt_fb.h"
#include "igt_gt.h"
#include "igt_kms.h"