OSDN Git Service

drm/i915: Trace GEM steps between submit and wedging
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Mar 2018 13:14:50 +0000 (13:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Mar 2018 10:16:07 +0000 (10:16 +0000)
commitd9b13c4dde6cacd8f2c4385cd6d293b0ac622e0b
tree029cab649967d9368d2575a5a78f8cc362252917
parent7fb96dac6755d053d3a540aff55fe0064001bdf6
drm/i915: Trace GEM steps between submit and wedging

We still have an odd race with wedging/unwedging as shown by igt/gem_eio
that defies expectations. Add some more trace_printks to try and
visualize the flow over the precipice.

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: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180315131451.4060-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_request.c