[Intel-gfx] [PATCH 4/4] warn
Chris Wilson
chris at chris-wilson.co.uk
Mon Oct 23 21:32:37 UTC 2017
---
drivers/gpu/drm/i915/i915_irq.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index f8205841868b..e4bd20ce031d 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1391,6 +1391,9 @@ gen8_cs_irq_handler(struct intel_engine_cs *engine, u32 iir, int test_shift)
if (READ_ONCE(engine->execlists.active)) {
__set_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted);
tasklet = true;
+ } else if (WARN_ON(!engine->i915->gt.awake)) {
+ struct drm_printer p = drm_info_printer(engine->i915->drm.dev);
+ intel_engine_dump(engine, &p);
}
}
--
2.15.0.rc1
More information about the Intel-gfx
mailing list