ilo: replace bo alloc flags by initial domains
[mesa.git] / src / gallium / drivers / ilo / ilo_query.c
index 59a6b0686c305d494bd0c1486241f38c8c407966..6a7da7f2730ddbf760291a4d39ec1a453bfdbb3c 100644 (file)
@@ -211,7 +211,8 @@ ilo_query_alloc_bo(struct ilo_query *q, int reg_count, int repeat_count,
       if (q->bo)
          intel_bo_unreference(q->bo);
 
-      q->bo = intel_winsys_alloc_buffer(winsys, name, size, 0);
+      q->bo = intel_winsys_alloc_buffer(winsys,
+            name, size, INTEL_DOMAIN_INSTRUCTION);
       q->reg_total = (q->bo) ? reg_total : 0;
    }