diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-07-06 14:01:56 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-07-06 14:01:56 +0100 |
commit | ec91c56e2a480ce469e9f7d5a184c131442bf65a (patch) | |
tree | fac00ab4f1c131b47b11085f7db9b4f6857632d4 /lib | |
parent | be87623bc6ce7262a710d4b80431c8bbc16d0a74 (diff) |
Revert "igt: Remove default from the engine list"
This reverts commit d7a0b61450797a3d6644c65aebf75c2a90da1a15.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_gt.c | 1 | ||||
-rw-r--r-- | lib/igt_gt.h | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/igt_gt.c b/lib/igt_gt.c index 05fe2f45..6f7daa5e 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -553,6 +553,7 @@ unsigned intel_detect_and_clear_missed_interrupts(int fd) } const struct intel_execution_engine intel_execution_engines[] = { + { "default", NULL, 0, 0 }, { "render", "rcs0", I915_EXEC_RENDER, 0 }, { "bsd", "vcs0", I915_EXEC_BSD, 0 }, { "bsd1", "vcs0", I915_EXEC_BSD, 1<<13 /*I915_EXEC_BSD_RING1*/ }, diff --git a/lib/igt_gt.h b/lib/igt_gt.h index d82d352a..2579cbd3 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -80,9 +80,4 @@ extern const struct intel_execution_engine { bool gem_can_store_dword(int fd, unsigned int engine); -static inline bool igt_is_basic(const struct intel_execution_engine *e) -{ - return e->exec_id == 1; -} - #endif /* IGT_GT_H */ |