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 <ch...@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahti...@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to