diff options
author | Chris Wilson <[email protected]> | 2021-02-01 08:56:22 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2021-03-24 19:30:36 +0100 |
commit | c10e4a7960f3032b0313c4b684e0b4025b4c138d (patch) | |
tree | 8461d400de755aadba6c9dcf67c58cc81147a003 /tools/perf/util/trace-event-scripting.c | |
parent | d712f4ce25d3935d6e124a84f7f8d640ab0da611 (diff) |
drm/i915: Protect against request freeing during cancellation on wedging
As soon as we mark a request as completed, it may be retired. So when
cancelling a request and marking it complete, make sure we first keep a
reference to the request.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions