Skip to content

Commit e62230d

Browse files
committed
drm/i915: Show CCID in engine dumps
For debugging context issues, knowing what context the GPU is loading/using is helpful. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 286e615 commit e62230d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/i915/intel_engine_cs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,8 @@ static void intel_engine_print_registers(const struct intel_engine_cs *engine,
12731273
&engine->execlists;
12741274
u64 addr;
12751275

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

0 commit comments

Comments
 (0)