intel: add a queue bo to initialize the hw context
The bo is used to initialize the hardware context. It will be reused for
atomic counters.
It may be used as the workaround bo too, but let's not worry about that yet.
diff --git a/icd/intel/queue.h b/icd/intel/queue.h
index 1c50e64..0153b15 100644
--- a/icd/intel/queue.h
+++ b/icd/intel/queue.h
@@ -39,6 +39,9 @@
struct intel_dev *dev;
enum intel_ring_type ring;
+ /* for context initialization and atomic counters */
+ struct intel_bo *bo;
+
struct intel_cmd *last_submitted_cmd;
};