summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_cp.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_cp.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_cp.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_cp.c b/src/gallium/drivers/ilo/ilo_cp.c
index ec99e0fb02e..0b2bbfacf4c 100644
--- a/src/gallium/drivers/ilo/ilo_cp.c
+++ b/src/gallium/drivers/ilo/ilo_cp.c
@@ -163,7 +163,7 @@ ilo_cp_realloc_bo(struct ilo_cp *cp)
* won't point at the same address, which is needed for jmpbuf
*/
bo = intel_winsys_alloc_buffer(cp->winsys,
- "batch buffer", cp->bo_size * 4, INTEL_DOMAIN_CPU);
+ "batch buffer", cp->bo_size * 4, true);
if (unlikely(!bo)) {
/* reuse the old one */
bo = cp->bo;