diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-29 08:53:20 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-11 14:38:45 +0100 |
| commit | 655250a8d1aa3b18949a72869858d07ceac12799 (patch) | |
| tree | bf8fc60a9d4b678ca1d11fb8bed90d3e3c087072 /tools/perf/scripts/python | |
| parent | drm/i915/selftests: Add a safety net to live_workarounds (diff) | |
| download | linux-655250a8d1aa3b18949a72869858d07ceac12799.tar.gz linux-655250a8d1aa3b18949a72869858d07ceac12799.zip | |
drm/i915/execlists: Switch to rb_root_cached
The kernel recently gained an augmented rbtree with the purpose of
cacheing the leftmost element of the rbtree, a frequent optimisation to
avoid calls to rb_first() which is also employed by the
execlists->queue. Switch from our open-coded cache to the library.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180629075348.27358-9-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
