projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
286e615
)
drm/i915: Show CCID in engine dumps
author
Chris Wilson
<
[email protected]
>
Thu, 14 Jun 2018 09:41:02 +0000
(10:41 +0100)
committer
Chris Wilson
<
[email protected]
>
Thu, 14 Jun 2018 13:35:12 +0000
(14:35 +0100)
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]
drivers/gpu/drm/i915/intel_engine_cs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_engine_cs.c
b/drivers/gpu/drm/i915/intel_engine_cs.c
index 8b3d7aa3dfde04bbdfb3cd080a31d2e1827abcc6..13bb8c7d2621bc78044e65afdcd86b2014700a20 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_engine_cs.c
+++ b/
drivers/gpu/drm/i915/intel_engine_cs.c
@@
-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",