summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_gt.c1
-rw-r--r--lib/igt_gt.h5
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 */