diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2017-06-23 12:31:40 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2017-07-06 12:29:04 +0100 |
commit | d7a0b61450797a3d6644c65aebf75c2a90da1a15 (patch) | |
tree | 1065f8cb799273badfd5062987d8b8a221f44c5a /lib | |
parent | 8cb5656fd46d4b4d96b85b487a15f6d9c436b104 (diff) |
igt: Remove default from the engine list
Default is not an engine but an ABI alias for RCS. Remove it
from the engine list to eliminate redundant subtests and test
passes.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_gt.c | 1 | ||||
-rw-r--r-- | lib/igt_gt.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/igt_gt.c b/lib/igt_gt.c index 6f7daa5e..05fe2f45 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -553,7 +553,6 @@ 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 2579cbd3..d82d352a 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -80,4 +80,9 @@ 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 */ |