summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-02-20 16:46:21 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2018-02-21 08:06:00 +0000
commit9bc2163b5bbe48f5db754441db678734c2d1f61e (patch)
treedd3698b994480544bfbfedc33d6ccd34d9bf4277 /tests
parentedc5b7a273b252880d718307d577bd3e18cb7718 (diff)
igt/gem_exec_schedule: Dump the engine info prior to sync on preempt_other
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@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_exec_schedule.c1
1 files changed, 1 insertions, 0 deletions
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++) {