aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2017-11-29 10:28:05 +0000
committerTvrtko Ursulin <[email protected]>2017-11-29 12:29:40 +0000
commitcf669b4e9fdce4cf1a7bef4e7ab8b3db0da021a2 (patch)
tree2ee9133c5a24319204869fb9ef69b7da3567a9be /tools/perf/scripts/python/stackcollapse.py
parent439e2ee4ca520e72870e4fa44aa0076060ad6857 (diff)
drm/i915: Consolidate checks for engine stats availability
Sagar noticed the check can be consolidated between the engine stats implementation and the PMU. My first choice was a static inline helper but that got into include ordering mess quickly fast so I went with a macro instead. At some point we should perhaps looking into taking out the non-ringubffer bits from intel_ringbuffer.h into a new intel_engine.h or something. v2: Use engine->flags. (Chris Wilson) v3: Rebase and mark GuC as not yet supported. (Chris Wilson) v4: Move flag setting to intel_engines_reset_default_submission. (Chris Wilson) v5: Move flag setting to logical_ring_setup. v6: intel_engines_reset_default_submission is the wrong place to set the flag - it needs to be in execlists_set_default_submission. (Sagar) v7: Flag setting in logical_ring_setup is not required. (Chris) Signed-off-by: Tvrtko Ursulin <[email protected]> Suggested-by: Sagar Arun Kamble <[email protected]> Cc: Sagar Arun Kamble <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Reviewed-by: Sagar Arun Kamble <[email protected]> (v6) Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions