[igt-dev] [igt CI 2/3] igt/gem_exec_schedule: Dump the engine info prior to sync on preempt_other

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 20 16:53:19 UTC 2018


It is useful to dump the request layout between engines  help debug
ordering issues and stuck preemption, so add it to preempt_other().

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
---
 tests/gem_exec_schedule.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gem_exec_schedule.c b/tests/gem_exec_schedule.c
index 1fc7c697..c9c4452e 100644
--- a/tests/gem_exec_schedule.c
+++ b/tests/gem_exec_schedule.c
@@ -450,6 +450,7 @@ static void preempt_other(int fd, unsigned ring)
 		    result, (n + 1)*sizeof(uint32_t), n + 1,
 		    0, I915_GEM_DOMAIN_RENDER);
 
+	igt_debugfs_dump(fd, "i915_engine_info");
 	gem_set_domain(fd, result, I915_GEM_DOMAIN_GTT, 0);
 
 	for (i = 0; i < n; i++) {
-- 
2.16.1



More information about the igt-dev mailing list