Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

drm/i915: Show CCID in engine dumps



For debugging context issues, knowing what context the GPU is
loading/using is helpful.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180614094103.18025-4-chris@chris-wilson.co.uk
parent 286e6153
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1273,6 +1273,8 @@ static void intel_engine_print_registers(const struct intel_engine_cs *engine,
		&engine->execlists;
	u64 addr;

	if (engine->id == RCS && IS_GEN(dev_priv, 4, 7))
		drm_printf(m, "\tCCID: 0x%08x\n", I915_READ(CCID));
	drm_printf(m, "\tRING_START: 0x%08x\n",
		   I915_READ(RING_START(engine->mmio_base)));
	drm_printf(m, "\tRING_HEAD:  0x%08x\n",