diff options
Diffstat (limited to 'tests/gem_sync.c')
-rw-r--r-- | tests/gem_sync.c | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/tests/gem_sync.c b/tests/gem_sync.c index c9e2f014..f0c5d76f 100644 --- a/tests/gem_sync.c +++ b/tests/gem_sync.c @@ -807,35 +807,6 @@ preempt(int fd, unsigned ring, int num_children, int timeout) gem_context_destroy(fd, ctx[0]); } -static void print_welcome(int fd) -{ - bool active; - int dir; - - dir = igt_sysfs_open_parameters(fd); - if (dir < 0) - return; - - active = igt_sysfs_get_boolean(dir, "enable_guc_submission"); - if (active) { - igt_info("Using GuC submission\n"); - goto out; - } - - active = igt_sysfs_get_boolean(dir, "enable_execlists"); - if (active) { - igt_info("Using Execlists submission\n"); - goto out; - } - - active = igt_sysfs_get_boolean(dir, "semaphores"); - igt_info("Using Legacy submission %s\n", - active ? ", with semaphores" : ""); - -out: - close(dir); -} - static unsigned int has_scheduler(int fd) { drm_i915_getparam_t gp; @@ -869,7 +840,7 @@ igt_main igt_fixture { fd = drm_open_driver(DRIVER_INTEL); igt_require_gem(fd); - print_welcome(fd); + gem_show_submission_method(fd); sched_caps = has_scheduler(fd); igt_fork_hang_detector(fd); |