Re: [Intel-gfx] [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close

2019-10-02 Thread Bloomfield, Jon
> -Original Message- > From: Chris Wilson > Sent: Wednesday, October 2, 2019 7:24 AM > To: Bloomfield, Jon ; intel- > g...@lists.freedesktop.org > Cc: Joonas Lahtinen ; Winiarski, Michal > > Subject: RE: [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close > > Quoting Bloomfie

Re: [Intel-gfx] [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close

2019-10-02 Thread Chris Wilson
Quoting Bloomfield, Jon (2019-10-02 14:52:32) > > > > -Original Message- > > From: Chris Wilson > > Sent: Wednesday, October 2, 2019 4:20 AM > > To: intel-gfx@lists.freedesktop.org > > Cc: Chris Wilson ; Joonas Lahtinen > > ; Winiarski, Michal > > ; Bloomfield, Jon > > Subject: [PATCH 2

Re: [Intel-gfx] [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close

2019-10-02 Thread Chris Wilson
Quoting Bloomfield, Jon (2019-10-02 14:52:32) > > > > -Original Message- > > From: Chris Wilson > > Sent: Wednesday, October 2, 2019 4:20 AM > > To: intel-gfx@lists.freedesktop.org > > Cc: Chris Wilson ; Joonas Lahtinen > > ; Winiarski, Michal > > ; Bloomfield, Jon > > Subject: [PATCH 2

Re: [Intel-gfx] [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close

2019-10-02 Thread Bloomfield, Jon
> -Original Message- > From: Chris Wilson > Sent: Wednesday, October 2, 2019 4:20 AM > To: intel-gfx@lists.freedesktop.org > Cc: Chris Wilson ; Joonas Lahtinen > ; Winiarski, Michal > ; Bloomfield, Jon > Subject: [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close > > Norma

[Intel-gfx] [PATCH 20/30] drm/i915: Cancel non-persistent contexts on close

2019-10-02 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