Re: [RFC 5/6] drm/i915: Fail too long user submissions by default

2021-03-16 Thread Daniel Vetter
On Fri, Mar 12, 2021 at 03:46:21PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > A new Kconfig option CONFIG_DRM_I915_REQUEST_TIMEOUT is added, defaulting > to 10s, and this timeout is applied to _all_ contexts using the previously > added watchdog facility. > > Result of this is that

[RFC 5/6] drm/i915: Fail too long user submissions by default

2021-03-12 Thread Tvrtko Ursulin
From: Tvrtko Ursulin A new Kconfig option CONFIG_DRM_I915_REQUEST_TIMEOUT is added, defaulting to 10s, and this timeout is applied to _all_ contexts using the previously added watchdog facility. Result of this is that any user submission will simply fail after this time, either causing a reset (