drm/i915/selftests: Pretty print the i915_active
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 Oct 2019 10:11:16 +0000 (10:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 Oct 2019 14:43:14 +0000 (14:43 +0000)
commit164a4128869ffcef33dfed82b641471b14e48b5d
tree8b3eabcddcde14bfb6a2139340c554861f0ff75d
parent1db257c55f0c9f54a429eb603ffa30bd8b0e06e6
drm/i915/selftests: Pretty print the i915_active

If the idle_pulse fails to flush the i915_active, dump the tree to see
if that has any clues.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191031101116.19894-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
drivers/gpu/drm/i915/i915_active.h
drivers/gpu/drm/i915/selftests/i915_active.c