aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorZhenyu Wang <[email protected]>2018-05-21 16:17:52 +0800
committerChris Wilson <[email protected]>2018-05-21 10:55:30 +0100
commit6bb2a2af8b1b38a5e33984f5fdda2638317ed8fd (patch)
tree539e81d44a6b63c60b74bc2e3c71d3ec90fa1400 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent39d3cc03e9ddd3c7b564acd07ba1691ba817837d (diff)
drm/i915/gvt: Fix crash after request->hw_context change
When we do shadowing, workload's request might not be allocated yet, so we still require shadow context's object. And when complete workload, delay to zero workload's request pointer after used for update guest context. v2: Move request alloc earlier as already try to track shadow status depending on request state, which also facilitate to use request->hw_context for target engine context reference. Fixes: 1fc44d9b1afb ("drm/i915: Store a pointer to intel_context in i915_request") Cc: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: Zhi Wang <[email protected]> Cc: Weinan Li <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions