aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-12-24 13:55:37 +0000
committerChris Wilson <[email protected]>2020-12-24 15:02:37 +0000
commit64b7a3fa7e3e629bc8cb56cef457c0e374303ed1 (patch)
tree21317518389ba638b5cdacc1795e904a1c556a51 /tools/perf/scripts/python/flamegraph.py
parent16f2941ad3078cac9c9ad69f3205fe4619f49edf (diff)
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 <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions