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

Chris Wilson chris at chris-wilson.co.uk
Mon May 11 13:26:40 PDT 2015


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: Peter Antoine <peter.antoine at intel.com>
> 
> Queued for -next, thanks for the patch.

Please drop this. We already have the test inside the irq handler. The
instance where you want the guard is during resume, inside
intel_lr_context_render_state_init() where you can even emit an error
code!
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list