summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-06-25 14:01:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-06-25 20:17:22 +0100
commit07bfe6bf1052f074093cdea95d6041f48b994c4b (patch)
treec184d7d430b3ec222e91e2773290c722088844fa /tools/perf/scripts/python
parent9a6a644096a1066c2ef5c47db0db79ac72af7967 (diff)
downloadlinux-07bfe6bf1052f074093cdea95d6041f48b994c4b.tar.gz
linux-07bfe6bf1052f074093cdea95d6041f48b994c4b.zip
drm/i915/execlists: Convert recursive defer_request() into iterative
As this engine owns the lock around rq->sched.link (for those waiters submitted to this engine), we can use that link as an element in a local list. We can thus replace the recursive algorithm with an iterative walk over the ordered list of waiters. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190625130128.11009-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions