From d7a0b61450797a3d6644c65aebf75c2a90da1a15 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Fri, 23 Jun 2017 12:31:40 +0100 Subject: 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 Acked-by: Daniel Vetter --- lib/igt_gt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/igt_gt.h') 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 */ -- cgit v1.2.3