]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Include engine state on detecting a missed breadcrumb/seqno
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Dec 2017 01:23:01 +0000 (01:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Dec 2017 18:48:36 +0000 (18:48 +0000)
commit66b272fd1cb256ec6d668381aa8bf9fa2a725a64
tree16eb32e07120239079ee945e93926e0bee1acf4b
parent4320e4ade8688eeb65e530a18a34d8e7d91f4e62
drm/i915: Include engine state on detecting a missed breadcrumb/seqno

Now that we have a common engine state pretty printer, we can use that
instead of the adhoc information printed when we miss a breadcrumb.

v2: Rearrange intel_engine_disarm_breadcrumbs() to avoid calling
intel_engine_dump() under the rb spinlock (Mika) and to pretty-print the
error state early so that we include the full list of waiters.
v3: Pass missed breadcrumb msg to pretty-printer as the header
v4: Preserve DRM_DEBUG_DRIVER filtering.

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