[Intel-gfx] [PATCH 21/30] drm/i915: Replace hangcheck by heartbeats

Bloomfield, Jon jon.bloomfield at intel.com
Wed Oct 2 13:55:32 UTC 2019


> -----Original Message-----
> From: Chris Wilson <chris at chris-wilson.co.uk>
> Sent: Wednesday, October 2, 2019 4:20 AM
> To: intel-gfx at lists.freedesktop.org
> Cc: Chris Wilson <chris at chris-wilson.co.uk>; Joonas Lahtinen
> <joonas.lahtinen at linux.intel.com>; Ursulin, Tvrtko <tvrtko.ursulin at intel.com>;
> Bloomfield, Jon <jon.bloomfield at intel.com>
> Subject: [PATCH 21/30] drm/i915: Replace hangcheck by heartbeats
> 
> Replace sampling the engine state every so often with a periodic
> heartbeat request to measure the health of an engine. This is coupled
> with the forced-preemption to allow long running requests to survive so
> long as they do not block other users.
> 
> The heartbeat interval can be adjusted per-engine using,
> 
> 	/sys/class/drm/card0/engine/*/heartbeat_interval_ms

Not true for discrete :-)

Perhaps: /sys/class/drm/card<n>/engine/*/heartbeat_interval_ms
And again in the code below.




More information about the Intel-gfx mailing list