diff options
author | Chia-I Wu <[email protected]> | 2014-08-26 12:36:33 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-08-26 14:10:50 +0800 |
commit | fbb869c1aaf6aa5400028556e23bbbb1ba41ce42 (patch) | |
tree | c6b24b0c191ead02e9e51cf079dd3c16744911f9 /src/gallium/drivers/ilo/ilo_cp.h | |
parent | 01887593a424824426eda75ff90b5e2a49876e86 (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.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_cp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_cp.h b/src/gallium/drivers/ilo/ilo_cp.h index 15b66040f6e..b4963022b00 100644 --- a/src/gallium/drivers/ilo/ilo_cp.h +++ b/src/gallium/drivers/ilo/ilo_cp.h @@ -320,14 +320,14 @@ ilo_cp_write_multi(struct ilo_cp *cp, const void *vals, int num_vals) * bo to the buffer, it also emits a relocation. */ static inline void -ilo_cp_write_bo(struct ilo_cp *cp, uint32_t val, struct intel_bo *bo, - uint32_t read_domains, uint32_t write_domain) +ilo_cp_write_bo(struct ilo_cp *cp, uint32_t val, + struct intel_bo *bo, uint32_t flags) { uint64_t presumed_offset; if (bo) { - intel_bo_add_reloc(cp->bo, cp->cmd_cur * 4, bo, val, - read_domains, write_domain, &presumed_offset); + intel_bo_add_reloc(cp->bo, cp->cmd_cur * 4, bo, val, flags, + &presumed_offset); } else { presumed_offset = 0; |