aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-11-21 07:10:41 +0000
committerChris Wilson <[email protected]>2019-11-21 11:53:55 +0000
commit2d0fb251360ab7eccbffd99f6933a2a4de678d52 (patch)
tree419e6e9b5bf5184b7348f00d0c57827d33b7ef4e /tools/perf/scripts/python/sctop.py
parent689122dcc36e08f53732adf7ae0246f62eff3eb6 (diff)
drm/i915: Serialise with remote retirement
Since retirement may be running in a worker on another CPU, it may be skipped in the local intel_gt_wait_for_idle(). To ensure the state is consistent for our sanity checks upon load, serialise with the remote retirer by waiting on the timeline->mutex. Outside of this use case, e.g. on suspend or module unload, we expect the slack to be picked up by intel_gt_pm_wait_for_idle() and so prefer to put the special case serialisation with retirement in its single user, for now at least. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions