diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2014-11-10 08:44:31 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-14 04:29:13 -0500 |
commit | 198c974d7e80a5135fc4a2e69a07ba3e64122f8a (patch) | |
tree | e23216fc3452c8b60a829712ad0e279128348d9f /Documentation/DocBook | |
parent | 938fd8aaf5d5489957255530d1866332aeca7009 (diff) |
drm/i915: Add tracepoints to track a vm during its lifetime
- ppgtt init/release: these tracepoints are useful for observing the
creation and destruction of Full PPGTTs.
- ctx create/free: we can use the ctx_free trace in combination with the
ppgtt_release one to be sure that the ppgtt doesn't stay alive for too
long after the ctx is destroyed. ctx_create is there for simmetry
- switch_mm: important point in the lifetime of the vm
v4: add DOC information
v5: pull the DOC in drm.tmpl
v6: clean ppgtt init/release traces + add ctx create/free and switch_mm
tracepoints (Chris)
v7: drop execlist_submit_context tracepoint
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/drm.tmpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 9d9977211b23..9449cd65f1d0 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl | |||
@@ -4001,6 +4001,27 @@ int num_ioctls;</synopsis> | |||
4001 | !Idrivers/gpu/drm/i915/intel_lrc.c | 4001 | !Idrivers/gpu/drm/i915/intel_lrc.c |
4002 | </sect2> | 4002 | </sect2> |
4003 | </sect1> | 4003 | </sect1> |
4004 | |||
4005 | <sect1> | ||
4006 | <title> Tracing </title> | ||
4007 | <para> | ||
4008 | This sections covers all things related to the tracepoints implemented in | ||
4009 | the i915 driver. | ||
4010 | </para> | ||
4011 | <sect2> | ||
4012 | <title> i915_ppgtt_create and i915_ppgtt_release </title> | ||
4013 | !Pdrivers/gpu/drm/i915/i915_trace.h i915_ppgtt_create and i915_ppgtt_release tracepoints | ||
4014 | </sect2> | ||
4015 | <sect2> | ||
4016 | <title> i915_context_create and i915_context_free </title> | ||
4017 | !Pdrivers/gpu/drm/i915/i915_trace.h i915_context_create and i915_context_free tracepoints | ||
4018 | </sect2> | ||
4019 | <sect2> | ||
4020 | <title> switch_mm </title> | ||
4021 | !Pdrivers/gpu/drm/i915/i915_trace.h switch_mm tracepoint | ||
4022 | </sect2> | ||
4023 | </sect1> | ||
4024 | |||
4004 | </chapter> | 4025 | </chapter> |
4005 | !Cdrivers/gpu/drm/i915/i915_irq.c | 4026 | !Cdrivers/gpu/drm/i915/i915_irq.c |
4006 | </part> | 4027 | </part> |