intel: Add pointer to device object in debug structure
The validation layer (debug object attached to intel_base.dbg)
need to know what device is being used to issue debug log messages.
Code now passes intel_dev pointer as part of creating the object.
diff --git a/icd/intel/queue.c b/icd/intel/queue.c
index 1e2393c..ef5417d 100644
--- a/icd/intel/queue.c
+++ b/icd/intel/queue.c
@@ -32,7 +32,7 @@
{
struct intel_queue *queue;
- queue = (struct intel_queue *) intel_base_create(sizeof(*queue),
+ queue = (struct intel_queue *) intel_base_create(dev, sizeof(*queue),
dev->base.dbg, XGL_DBG_OBJECT_QUEUE, NULL, 0);
if (!queue)
return XGL_ERROR_OUT_OF_MEMORY;