aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-02-28 13:17:14 +0000
committerChris Wilson <[email protected]>2020-02-28 22:03:43 +0000
commit72338a1f5ef8a480184aac48bcc8e9f7d4d0d0a5 (patch)
tree0a4208c6e42213312c82dac7d4c28e9e1fd2eb24 /tools/perf/scripts/python/exported-sql-viewer.py
parent062444bbc6859dbe9991673ffd377a4af4d76d51 (diff)
drm/i915/gt: Expose reset stop timeout via sysfs
When we allow ourselves to sleep before a GPU reset after disabling submission, even for a few milliseconds, gives an innocent context the opportunity to clear the GPU before the reset occurs. However, how long to sleep depends on the typical non-preemptible duration (a similar problem to determining the ideal preempt-reset timeout or even the heartbeat interval). As this seems of a hard policy decision, punt it to userspace. The timeout can be adjusted using /sys/class/drm/card?/engine/*/stop_timeout_ms Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Jon Bloomfield <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions