diff options
| author | Chris Wilson <[email protected]> | 2020-02-28 13:17:16 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-28 22:03:49 +0000 |
| commit | 9a40bddd47ca4aa26d3b10bdaf51c35862a344ff (patch) | |
| tree | e49b94e95330b83ede6671f870df0941efab6ef4 /tools/perf/scripts/python | |
| parent | db3d8338bacbfc734d246eaccfbe5b19ad81d7d4 (diff) | |
drm/i915/gt: Expose heartbeat interval via sysfs
We monitor the health of the system via periodic heartbeat pulses. The
pulses also provide the opportunity to perform garbage collection.
However, we interpret an incomplete pulse (a missed heartbeat) as an
indication that the system is no longer responsive, i.e. hung, and
perform an engine or full GPU reset. Given that the preemption
granularity can be very coarse on a system, we let the sysadmin override
our legacy timeouts which were "optimised" for desktop applications.
The heartbeat interval can be adjusted per-engine using,
/sys/class/drm/card?/engine/*/heartbeat_interval_ms
Signed-off-by: Chris Wilson <[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')
0 files changed, 0 insertions, 0 deletions