diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2012-12-10 15:41:48 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-11 13:32:26 +0100 |
commit | f72b3435c1a75406d82d6e252bb78f009efd4bd9 (patch) | |
tree | 5b9e854dc74ca4d52374cd6e7e816312c6daca31 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 3ac18232946aacf0a9807c3143f8449ed4aa68f4 (diff) |
drm/i915: Don't emit semaphore wait if wrap happened
If wrap just happened we need to prevent emitting waits for
pre wrap values. Detect this and emit no-ops instead.
v2: Use olr > seqno to detect wrap instead of *seqno == 0
as suggested by Chris Wilson.
v3: Use last used seqno to detect the wraparound. From
Chris Wilson
v4: Fixed unnecessary last_seqno assigment
References: https://bugs.freedesktop.org/show_bug.cgi?id=57967
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions