Re: [Intel-gfx] [CI 4/4] drm/i915/gem: Cancel contexts when hangchecking is disabled

2019-10-23 Thread Chris Wilson
Quoting Kumar Valsan, Prathap (2019-10-24 00:26:06) > On Wed, Oct 23, 2019 at 01:21:51PM +0100, Chris Wilson wrote: > > + > > + /* > > + * If the user has disabled hangchecking, we can not be sure that > > + * the batches will ever complete after the context is closed, > > + * ke

Re: [Intel-gfx] [CI 4/4] drm/i915/gem: Cancel contexts when hangchecking is disabled

2019-10-23 Thread Kumar Valsan, Prathap
On Wed, Oct 23, 2019 at 01:21:51PM +0100, Chris Wilson wrote: > Normally, we rely on our hangcheck to prevent persistent batches from > hogging the GPU. However, if the user disables hangcheck, this mechanism > breaks down. Despite our insistence that this is unsafe, the users are > equally insiste

[Intel-gfx] [CI 4/4] drm/i915/gem: Cancel contexts when hangchecking is disabled

2019-10-23 Thread Chris Wilson
Normally, we rely on our hangcheck to prevent persistent batches from hogging the GPU. However, if the user disables hangcheck, this mechanism breaks down. Despite our insistence that this is unsafe, the users are equally insistent that they want to use endless batches and will disable the hangchec