Re: [Intel-gfx] [PATCH 09/10] drm/i915: Replace hangcheck by heartbeats

2019-10-11 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-10-11 15:24:21) > > On 10/10/2019 08:14, Chris Wilson wrote: > > +config DRM_I915_HEARTBEAT_INTERVAL > > + int "Interval between heartbeat pulses (ms)" > > + default 2500 # milliseconds > > + help > > + While active the driver uses a periodic request,

Re: [Intel-gfx] [PATCH 09/10] drm/i915: Replace hangcheck by heartbeats

2019-10-11 Thread Tvrtko Ursulin
On 10/10/2019 08:14, Chris Wilson wrote: 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 hear

[Intel-gfx] [PATCH 09/10] drm/i915: Replace hangcheck by heartbeats

2019-10-10 Thread Chris Wilson
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 us