summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-29 22:05:26 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-01 11:15:01 +0200
commitd26e3af842023603747f1566caff5f471508bbd4 (patch)
treed8f8c73b503557952f2e423545c08abc0ee011fd /tools/perf/scripts/python
parentdaa13e1ca587bc773c1aae415ed1af6554117bd4 (diff)
drm/i915: Refactor the wait_rendering completion into a common routine
Harmonise the completion logic between the non-blocking and normal wait_rendering paths, and move that logic into a common function. In the process, we note that the last_write_seqno is by definition the earlier of the two read/write seqnos and so all successful waits will have passed the last_write_seqno. Therefore we can unconditionally clear the write seqno and its domains in the completion logic. v2: Add the missing ring parameter, because sometimes it is good to have things compile. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions