diff options
| author | Chris Wilson <[email protected]> | 2018-03-22 11:00:59 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-03-22 13:50:12 +0000 |
| commit | 0e59c209f4ccf9f9d505babdb04731294e18c4ed (patch) | |
| tree | 1b69d17787ea63b42c4770583697fa9ca49eace4 /tools/perf/scripts/python | |
| parent | d544e918ff132488770ab2cb6b03e2af69497d1c (diff) | |
drm/i915: Fix tracing of submit seqno
We pre-increment the timeline->seqno when handing it to the request,
make sure the GEM_TRACE takes this into account. Otherwise, it appears
that we go backwards over a preemption point:
1d..1 157681077us : __i915_request_unsubmit: vcs0 fence 75e:3 <- global_seqno 17
0d.s1 157681113us : __i915_request_submit: vcs0 fence 75e:3 -> global_seqno 16
Fixes: d9b13c4dde6c ("drm/i915: Trace GEM steps between submit and wedging")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[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