diff options
| author | Chris Wilson <[email protected]> | 2017-12-19 22:09:16 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-12-19 23:04:45 +0000 |
| commit | 16c8619a7c53fe05526c31d4758be0eeabd16364 (patch) | |
| tree | a33f40a0c2c3e5e10e531b72f06ac3bfe8b88135 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 93dff1008a4ef92aaf26b4b188a09a1acc4522df (diff) | |
drm/i915: Avoid context dereference inside execlists_submission_tasklet
A lesson that has to be relearnt over and over again is that the request
does not keep a reference to the context and so we cannot freely
dereference the context from inside the execlists_submission_tasklet. In
particular, we try to do so in the new GEM_TRACE() so convert those over
to the port->context_id we keep for GEM debugging. This means the
tracing now depends on DRM_I915_GEM_DEBUG.
Fixes: bccd3b831185 ("drm/i915: Use trace_printk to provide a death rattle for GEM")
References: https://bugs.freedesktop.org/show_bug.cgi?id=104066
References: https://bugs.freedesktop.org/show_bug.cgi?id=104162
References: https://bugs.freedesktop.org/show_bug.cgi?id=104242
References: https://bugs.freedesktop.org/show_bug.cgi?id=104310
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Michel Thierry <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions