Re: [Intel-gfx] [RFC 1/3] drm/i915: Watchdog timeout: IRQ handler for gen8+

2017-02-23 Thread Chris Wilson
On Thu, Feb 23, 2017 at 08:57:54PM +, Chris Wilson wrote: > On Thu, Feb 23, 2017 at 11:44:17AM -0800, Michel Thierry wrote: > > + > > + /* Make sure the active request will be marked as guilty */ > > + engine->hangcheck.stalled = true; > > + engine->hangcheck.seqno

Re: [Intel-gfx] [RFC 1/3] drm/i915: Watchdog timeout: IRQ handler for gen8+

2017-02-23 Thread Michel Thierry
On 23/02/17 13:49, Chris Wilson wrote: On Thu, Feb 23, 2017 at 01:21:03PM -0800, Michel Thierry wrote: On 23/02/17 12:57, Chris Wilson wrote: On Thu, Feb 23, 2017 at 11:44:17AM -0800, Michel Thierry wrote: *** General *** Watchdog timeout (or "media engine reset") is a feature that allows

Re: [Intel-gfx] [RFC 1/3] drm/i915: Watchdog timeout: IRQ handler for gen8+

2017-02-23 Thread Chris Wilson
On Thu, Feb 23, 2017 at 01:21:03PM -0800, Michel Thierry wrote: > > > On 23/02/17 12:57, Chris Wilson wrote: > >On Thu, Feb 23, 2017 at 11:44:17AM -0800, Michel Thierry wrote: > >>*** General *** > >> > >>Watchdog timeout (or "media engine reset") is a feature that allows > >>userland application

Re: [Intel-gfx] [RFC 1/3] drm/i915: Watchdog timeout: IRQ handler for gen8+

2017-02-23 Thread Michel Thierry
On 23/02/17 12:57, Chris Wilson wrote: On Thu, Feb 23, 2017 at 11:44:17AM -0800, Michel Thierry wrote: *** General *** Watchdog timeout (or "media engine reset") is a feature that allows userland applications to enable hang detection on individual batch buffers. The detection mechanism itself

Re: [Intel-gfx] [RFC 1/3] drm/i915: Watchdog timeout: IRQ handler for gen8+

2017-02-23 Thread Chris Wilson
On Thu, Feb 23, 2017 at 11:44:17AM -0800, Michel Thierry wrote: > *** General *** > > Watchdog timeout (or "media engine reset") is a feature that allows > userland applications to enable hang detection on individual batch buffers. > The detection mechanism itself is mostly bound to the hardware a

[Intel-gfx] [RFC 1/3] drm/i915: Watchdog timeout: IRQ handler for gen8+

2017-02-23 Thread Michel Thierry
*** General *** Watchdog timeout (or "media engine reset") is a feature that allows userland applications to enable hang detection on individual batch buffers. The detection mechanism itself is mostly bound to the hardware and the only thing that the driver needs to do to support this form of hang