aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-02-28 13:17:13 +0000
committerChris Wilson <[email protected]>2020-02-28 22:03:41 +0000
commit062444bbc6859dbe9991673ffd377a4af4d76d51 (patch)
tree6dfa9be3ece237031f47c7ffc5ae2ffdf70533cd /tools/perf/scripts/python/syscall-counts.py
parent1a2695a7465971f28d8c44d6a282b6a2dd91e96f (diff)
drm/i915/gt: Expose busywait duration to sysfs
We busywait on an inflight request (one that is currently executing on HW, and so might complete quickly) prior to setting up an interrupt and sleeping. The trade off is that we keep an expensive CPU core busy in order to avoid wake up latency: where that trade off should lie is best left to the sysadmin. The busywait mechanism can be compiled out with ./scripts/config --set-val DRM_I915_SPIN_REQUEST 0 The maximum busywait duration can be adjusted per-engine using, /sys/class/drm/card?/engine/*/ms_busywait_duration_ns Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Steve Carbonari <[email protected]> Tested-by: Steve Carbonari <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions