summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_cp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_cp.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_cp.h8
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;