summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-19 21:32:52 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commitfb4c89884213cdd66735daa4a8252ef4584ad34f (patch)
tree09ed9060f2386c24a97588d12599811d136b4a27
parente5528151a733d06f67a70d0bf739d961a09fc215 (diff)
iris: Use iris_use_pinned_bo rather than add_exec_bo directly
less special this way
-rw-r--r--src/gallium/drivers/iris/iris_batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index bf5300c80fe..5446966b199 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -264,7 +264,7 @@ create_batch(struct iris_batch *batch)
batch->map = iris_bo_map(NULL, batch->bo, MAP_READ | MAP_WRITE);
batch->map_next = batch->map;
- add_exec_bo(batch, batch->bo);
+ iris_use_pinned_bo(batch, batch->bo, false);
}
static void