Commit bb120e11 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Show the logical context ring state on dumping

Include the active context register state when dumping the engine.
Suggested-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: default avatarStuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190915203701.29163-1-chris@chris-wilson.co.uk
parent ef404bc6
......@@ -1404,6 +1404,11 @@ void intel_engine_dump(struct intel_engine_cs *engine,
rq->timeline->hwsp_offset);
print_request_ring(m, rq);
if (rq->hw_context->lrc_reg_state) {
drm_printf(m, "Logical Ring Context:\n");
hexdump(m, rq->hw_context->lrc_reg_state, PAGE_SIZE);
}
}
spin_unlock_irqrestore(&engine->active.lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment