From ec91c56e2a480ce469e9f7d5a184c131442bf65a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 6 Jul 2017 14:01:56 +0100 Subject: Revert "igt: Remove default from the engine list" This reverts commit d7a0b61450797a3d6644c65aebf75c2a90da1a15. --- lib/igt_gt.c | 1 + lib/igt_gt.h | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'lib') 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 */ -- cgit v1.2.3