diff options
| author | Chris Wilson <[email protected]> | 2019-06-21 09:07:29 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-06-21 10:11:05 +0100 |
| commit | 12fdaf19e05b69992502eb9c97fc3c180f797564 (patch) | |
| tree | 103eae977cdb7fef929ff3cfc9631fe173a9b1a9 /tools/perf/scripts/python | |
| parent | b32fa811156328aea5a3c2ff05cc096490382456 (diff) | |
drm/i915/execlists: Keep virtual context alive until after we kick
The call to kick_siblings() dereferences the rq->context, so we should
not drop our local reference until afterwards!
v2: Stick to setting ce.inflight=NULL before kicking as this is what the
other threads will check to see if the context is ready for takeover.
Fixes: 22b7a426bbe1 ("drm/i915/execlists: Preempt-to-busy")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions