From 35fa2ca73b6b9682d0f3366b0cb4e82ac6c340ec Mon Sep 17 00:00:00 2001 From: Abdiel Janulgue Date: Tue, 11 Oct 2016 21:30:08 +0300 Subject: lib: add igt_dummyload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: Ville Syrjälä Cc: Chris Wilson Cc: tomeu@tomeuvizoso.net Reviewed-by: Tomeu Vizoso Signed-off-by: Abdiel Janulgue --- lib/Makefile.sources | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Makefile.sources') diff --git a/lib/Makefile.sources b/lib/Makefile.sources index e8e277bd..7fc5ec23 100644 --- a/lib/Makefile.sources +++ b/lib/Makefile.sources @@ -75,6 +75,8 @@ lib_source_list = \ igt_draw.h \ igt_pm.c \ igt_pm.h \ + igt_dummyload.c \ + igt_dummyload.h \ uwildmat/uwildmat.h \ uwildmat/uwildmat.c \ $(NULL) -- cgit v1.2.3