Merge tag 'drm-intel-fixes-2015-07-15' into drm-intel-next-queued
[linux-drm-fsl-dcu.git] / drivers / gpu / drm / i915 / intel_ringbuffer.h
index 0ea89ea301827d41fc1a03ec07718a577541a692..2e85fda949638079d2c7c4c9f8ac9daf39f97f5f 100644 (file)
@@ -292,6 +292,13 @@ struct  intel_engine_cs {
         */
        struct list_head request_list;
 
+       /**
+        * Seqno of request most recently submitted to request_list.
+        * Used exclusively by hang checker to avoid grabbing lock while
+        * inspecting request list.
+        */
+       u32 last_submitted_seqno;
+
        bool gpu_caches_dirty;
 
        wait_queue_head_t irq_queue;