OSDN Git Service

drm/i915/selftests: Show the i915_active on failure
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Dec 2019 11:55:02 +0000 (11:55 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2019 11:33:18 +0000 (11:33 +0000)
commit5de34ed13787c47f34b73d69b3d0bbaf2245d534
tree658a2d0b7e90eb6bb2dfb0ac46603e09f2a80af7
parent93e89ac8537bad2cd560c64b70dbb87e68714e54
drm/i915/selftests: Show the i915_active on failure

Print the i915_active state on selftest failure, with a hope it helps
illuminate the cause of the failure.

References: https://gitlab.freedesktop.org/drm/intel/issues/765
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210115502.3767070-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_active.c