提交 528dd16a 编写于 作者: C Chris Wilson

drm/i915: Include the global reset count for intel_engine_dump()

Since a global reset affects the engine, include that along side the
per-engine reset counter when pretty printing the engine state in
intel_engine_dump().
Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171208012303.25504-4-chris@chris-wilson.co.uk
上级 832265d3
...@@ -1693,8 +1693,9 @@ void intel_engine_dump(struct intel_engine_cs *engine, ...@@ -1693,8 +1693,9 @@ void intel_engine_dump(struct intel_engine_cs *engine,
engine->hangcheck.seqno, engine->hangcheck.seqno,
jiffies_to_msecs(jiffies - engine->hangcheck.action_timestamp), jiffies_to_msecs(jiffies - engine->hangcheck.action_timestamp),
engine->timeline->inflight_seqnos); engine->timeline->inflight_seqnos);
drm_printf(m, "\tReset count: %d\n", drm_printf(m, "\tReset count: %d (global %d)\n",
i915_reset_engine_count(error, engine)); i915_reset_engine_count(error, engine),
i915_reset_count(error));
rcu_read_lock(); rcu_read_lock();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册