From 04f5215f00962f746c5bd1aa7bdbcaf62280f235 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 27 Jan 2016 14:07:27 +0000 Subject: Extract array of execution engines A few tests wish to execute on every engine, so centralise the array of known engines. Signed-off-by: Chris Wilson --- lib/igt_gt.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/igt_gt.h') diff --git a/lib/igt_gt.h b/lib/igt_gt.h index 4cf898a2..d4a582e2 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -91,4 +91,10 @@ void igt_clflush_range(void *addr, int size); unsigned intel_detect_and_clear_missed_interrupts(int fd); +extern const struct intel_execution_engine { + const char *name; + unsigned exec_id; + unsigned flags; +} intel_execution_engines[]; + #endif /* IGT_GT_H */ -- cgit v1.2.3