summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_query.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-08-26 12:36:33 +0800
committerChia-I Wu <[email protected]>2014-08-26 14:10:50 +0800
commitfbb869c1aaf6aa5400028556e23bbbb1ba41ce42 (patch)
treec6b24b0c191ead02e9e51cf079dd3c16744911f9 /src/gallium/drivers/ilo/ilo_query.c
parent01887593a424824426eda75ff90b5e2a49876e86 (diff)
ilo: replace domains by reloc flags
It is simpler and is supported by the kernel. It cannot be used with libdrm_intel yet though.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_query.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_query.c b/src/gallium/drivers/ilo/ilo_query.c
index 46e6bf766e1..72fc1c70a70 100644
--- a/src/gallium/drivers/ilo/ilo_query.c
+++ b/src/gallium/drivers/ilo/ilo_query.c
@@ -229,7 +229,7 @@ ilo_query_alloc_bo(struct ilo_query *q, int reg_count, int repeat_count,
intel_bo_unreference(q->bo);
q->bo = intel_winsys_alloc_buffer(winsys,
- name, size, INTEL_DOMAIN_INSTRUCTION);
+ name, size, false);
q->reg_total = (q->bo) ? reg_total : 0;
}