Signed-off-by: Michał Winiarski <michal.winiar...@intel.com>
---
 drivers/gpu/drm/i915/i915_debugfs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c 
b/drivers/gpu/drm/i915/i915_debugfs.c
index 10490bf..b71420c 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -3268,6 +3268,10 @@ static int i915_engine_info(struct seq_file *m, void 
*unused)
                           engine->hangcheck.seqno,
                           jiffies_to_msecs(jiffies - 
engine->hangcheck.action_timestamp));
 
+               seq_printf(m, "\tpreempt [requested %d, finished %d]\n",
+                          engine->preempt_requested,
+                          intel_engine_is_preempt_finished(engine));
+
                rcu_read_lock();
 
                seq_printf(m, "\tRequests:\n");
-- 
2.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to