diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-11 00:26:52 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-11 10:51:58 +0000 |
commit | 4c5ae0475d23cdc7d02b88cf831bd4df7e0e07b3 (patch) | |
tree | 96db5f22bd2b818328573e1ebde62878400edda1 /lib/igt_dummyload.h | |
parent | c79d4e88f4162905da400360b6fa4940122f3a2c (diff) |
i915/gem_exec_fence: Check a submit chain
Submit a chain of spinners across all the engines, using the submit
fence to launch them in parallel.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'lib/igt_dummyload.h')
-rw-r--r-- | lib/igt_dummyload.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/igt_dummyload.h b/lib/igt_dummyload.h index b8baaa6b4..3ece70a50 100644 --- a/lib/igt_dummyload.h +++ b/lib/igt_dummyload.h @@ -65,13 +65,14 @@ struct igt_spin_factory { }; #define IGT_SPIN_FENCE_IN (1 << 0) -#define IGT_SPIN_FENCE_OUT (1 << 1) -#define IGT_SPIN_POLL_RUN (1 << 2) -#define IGT_SPIN_FAST (1 << 3) -#define IGT_SPIN_NO_PREEMPTION (1 << 4) -#define IGT_SPIN_INVALID_CS (1 << 5) -#define IGT_SPIN_USERPTR (1 << 6) -#define IGT_SPIN_SOFTDEP (1 << 7) +#define IGT_SPIN_FENCE_SUBMIT (1 << 1) +#define IGT_SPIN_FENCE_OUT (1 << 2) +#define IGT_SPIN_POLL_RUN (1 << 3) +#define IGT_SPIN_FAST (1 << 4) +#define IGT_SPIN_NO_PREEMPTION (1 << 5) +#define IGT_SPIN_INVALID_CS (1 << 6) +#define IGT_SPIN_USERPTR (1 << 7) +#define IGT_SPIN_SOFTDEP (1 << 8) igt_spin_t * __igt_spin_factory(int fd, const struct igt_spin_factory *opts); |