drm/i915: Show waiter's status on engine dump
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Nov 2018 15:16:53 +0000 (15:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Nov 2018 15:57:46 +0000 (15:57 +0000)
commitaa6a65daca110df41ac0224bea1198dc97fd6695
treef197c3feafb14c757c4d0ffb7df9bd1e8953a420
parentf43348a3db89305bb1935da9fe4499fdcdde9796
drm/i915: Show waiter's status on engine dump

When showing the list of waiters, include the task's status so that we
can tell if they have been woken up and are waiting for the CPU, or if
they are still waiting to be woken.

v2: task_state_to_char()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181121151653.24595-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_engine_cs.c