From db15993cfdd6e03435852d408e4fabaec642f297 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 30 Jan 2018 02:16:34 -0800 Subject: iris: actually pin the instruction cache buffers --- src/gallium/drivers/iris/iris_batch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/iris/iris_batch.h') diff --git a/src/gallium/drivers/iris/iris_batch.h b/src/gallium/drivers/iris/iris_batch.h index 6b67737f614..bb891c68263 100644 --- a/src/gallium/drivers/iris/iris_batch.h +++ b/src/gallium/drivers/iris/iris_batch.h @@ -121,6 +121,8 @@ bool iris_batch_references(struct iris_batch *batch, struct iris_bo *bo); #define RELOC_WRITE EXEC_OBJECT_WRITE +void iris_use_pinned_bo(struct iris_batch *batch, struct iris_bo *bo); + uint64_t iris_batch_reloc(struct iris_batch *batch, uint32_t batch_offset, struct iris_bo *target, -- cgit v1.2.3