Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6381 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-12 Thread Chris Wilson
On Tue, May 12, 2015 at 10:42:41AM +0200, Daniel Vetter wrote: > On Tue, May 12, 2015 at 09:18:00AM +0100, Chris Wilson wrote: > > On Tue, May 12, 2015 at 08:42:58AM +0200, Daniel Vetter wrote: > > > On Mon, May 11, 2015 at 09:26:40PM +0100, Chris Wilson wrote: > > > > On Mon, May 11, 2015 at 06:37

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-12 Thread Daniel Vetter
On Tue, May 12, 2015 at 09:18:00AM +0100, Chris Wilson wrote: > On Tue, May 12, 2015 at 08:42:58AM +0200, Daniel Vetter wrote: > > On Mon, May 11, 2015 at 09:26:40PM +0100, Chris Wilson wrote: > > > On Mon, May 11, 2015 at 06:37:14PM +0200, Daniel Vetter wrote: > > > > On Mon, May 11, 2015 at 04:03

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-12 Thread Chris Wilson
On Tue, May 12, 2015 at 08:42:58AM +0200, Daniel Vetter wrote: > On Mon, May 11, 2015 at 09:26:40PM +0100, Chris Wilson wrote: > > On Mon, May 11, 2015 at 06:37:14PM +0200, Daniel Vetter wrote: > > > On Mon, May 11, 2015 at 04:03:27PM +0100, Peter Antoine wrote: > > > > If an batch ends while the I

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-11 Thread Daniel Vetter
On Mon, May 11, 2015 at 09:26:40PM +0100, Chris Wilson wrote: > On Mon, May 11, 2015 at 06:37:14PM +0200, Daniel Vetter wrote: > > On Mon, May 11, 2015 at 04:03:27PM +0100, Peter Antoine wrote: > > > If an batch ends while the IRQs are not turned on the notification can > > > go missing and the GPU

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-11 Thread Chris Wilson
On Mon, May 11, 2015 at 06:37:14PM +0200, Daniel Vetter wrote: > On Mon, May 11, 2015 at 04:03:27PM +0100, Peter Antoine wrote: > > If an batch ends while the IRQs are not turned on the notification can > > go missing and the GPU can hang. So generate a warning in this case. > > > > Signed-off-by:

Re: [Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-11 Thread Daniel Vetter
On Mon, May 11, 2015 at 04:03:27PM +0100, Peter Antoine wrote: > If an batch ends while the IRQs are not turned on the notification can > go missing and the GPU can hang. So generate a warning in this case. > > Signed-off-by: Peter Antoine Queued for -next, thanks for the patch. -Daniel > --- >

[Intel-gfx] [PATCH] drm/i915: Warn when execlists changes context without IRQs

2015-05-11 Thread Peter Antoine
If an batch ends while the IRQs are not turned on the notification can go missing and the GPU can hang. So generate a warning in this case. Signed-off-by: Peter Antoine --- drivers/gpu/drm/i915/intel_lrc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_lrc.c