diff options
author | 2020-12-24 13:55:37 +0000 | |
---|---|---|
committer | 2020-12-24 15:02:37 +0000 | |
commit | 64b7a3fa7e3e629bc8cb56cef457c0e374303ed1 (patch) | |
tree | 21317518389ba638b5cdacc1795e904a1c556a51 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/i915/gt: Replace direct submit with direct call to tasklet (diff) | |
download | linux-dev-64b7a3fa7e3e629bc8cb56cef457c0e374303ed1.tar.xz linux-dev-64b7a3fa7e3e629bc8cb56cef457c0e374303ed1.zip |
drm/i915/gt: Use virtual_engine during execlists_dequeue
Rather than going back and forth between the rb_node entry and the
virtual_engine type, store the ve local and reuse it. As the
container_of conversion from rb_node to virtual_engine requires a
variable offset, performing that conversion just once shaves off a bit
of code.
v2: Keep a single virtual engine lookup, for typical use.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201224135544.1713-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions