Commit a4eb99a1 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Include engine->mmio_base in the debug dump



Some IGT would like to know the mmio address of each engine so make it
available.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarStuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190813215707.14703-1-chris@chris-wilson.co.uk
parent 0b08ae03
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1404,6 +1404,7 @@ void intel_engine_dump(struct intel_engine_cs *engine,
	}
	spin_unlock_irqrestore(&engine->active.lock, flags);

	drm_printf(m, "\tMMIO base:  0x%08x\n", engine->mmio_base);
	wakeref = intel_runtime_pm_get_if_in_use(&engine->i915->runtime_pm);
	if (wakeref) {
		intel_engine_print_registers(engine, m);