aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-11-10 14:26:28 +0000
committerChris Wilson <[email protected]>2017-11-10 17:20:25 +0000
commitae6c4574782dbfebcbf1f7e3620bcaf58ceb69e3 (patch)
tree871f6cf851a9b682103fd1a12530dac7ace4c395 /tools/perf/scripts/python/stackcollapse.py
parent1803fcbca2e444f7972430c4dc1c3e98c6ee1bc9 (diff)
drm/i915: Force the switch to the i915->kernel_context
In the next few patches, we will have a hard requirement that we emit a context-switch to the perma-pinned i915->kernel_context (so that we can save the HW state using that context-switch). As the first context itself may be classed as a kernel context, we want to be explicit in our comparison. For an extra-layer of finesse, we can check the last unretired context on the engine; as well as the last retired context when idle. v2: verbose verbosity v3: Always force the switch, even when the engine is idle, and update the assert that this happens before suspend. Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> #v1 Reviewed-by: Mika Kuoppala <[email protected]> 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