drm/i915: Warn when execlists changes context without IRQs
authorPeter Antoine <peter.antoine@intel.com>
Mon, 11 May 2015 15:03:27 +0000 (16:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:44 +0000 (11:25 +0200)
commit779949f4b1968d28229e7375fd199f54ed883dc4
treead6f533362d1c013a3c75977d46d2cbe1c1a2b43
parent2614f17d2d2dcf2f8c1a2f4f0ada056ed60d7d8f
drm/i915: Warn when execlists changes context without IRQs

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@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c