drm/i915/gem: Peek at the inflight context
[linux-2.6-block.git] / drivers / gpu / drm / i915 / gt / intel_context_types.h
index f7a0fb6f3a2e90bd803bd120df5ff9ecab725968..430aafb78ed357917202450b536a0bf3ee9f4397 100644 (file)
@@ -30,6 +30,10 @@ struct intel_context;
 struct intel_ring;
 
 struct intel_context_ops {
+       unsigned long flags;
+#define COPS_HAS_INFLIGHT_BIT 0
+#define COPS_HAS_INFLIGHT BIT(COPS_HAS_INFLIGHT_BIT)
+
        int (*alloc)(struct intel_context *ce);
 
        int (*pre_pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void **vaddr);