diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-27 14:07:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-27 14:45:19 +0000 |
commit | 04f5215f00962f746c5bd1aa7bdbcaf62280f235 (patch) | |
tree | 308f51fcaa73a9baec6dfd19cfc1dd1cb97ff5e9 /lib/igt_gt.h | |
parent | b7f150b606bc27199a007dab8d248d9510967173 (diff) |
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r-- | lib/igt_gt.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |