aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorNick Hoath <[email protected]>2016-01-21 19:37:45 +0000
committerDaniel Vetter <[email protected]>2016-01-25 19:09:03 +0100
commit1803c035efb88afb9d3e7feb279ac29a83216382 (patch)
tree3ef8b296fea65bd65354283f701dfc8bb9f9f8ec /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent768e159f433c97f5221a3662217de5a1cb3b9b95 (diff)
drm/i915: Fix context/engine cleanup order
Swap the order of context & engine cleanup, so that contexts are cleaned up first, and *then* engines. This is a more sensible order anyway, but in particular has become necessary since the 'intel_ring_initialized() must be simple and inline' patch, which now uses ring->dev as an 'initialised' flag, so it can now be NULL after engine teardown. This in turn can cause a problem in the context code, which (used to) check the ring->dev->struct_mutex -- causing a fault if ring->dev was NULL. Also rename the cleanup function to reflect what it actually does (cleanup engines, not a ringbuffer), and fix an annoying whitespace issue. v2: Also make the fix in i915_load_modeset_init, not just in i915_driver_unload (Chris Wilson) v3: Had extra stuff in it. v4: Reverted extra stuff (so we're back to v2). Rebased and updated commentary above (Dave Gordon). Signed-off-by: Nick Hoath <[email protected]> Signed-off-by: Dave Gordon <[email protected]> Reviewed-by: Chris Wilson <[email protected]> (v2) Cc: Mika Kuoppala <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions