iris: Use iris_use_pinned_bo rather than add_exec_bo directly

less special this way
This commit is contained in:
Kenneth Graunke 2018-11-19 21:32:52 -08:00
parent e5528151a7
commit fb4c898842
1 changed files with 1 additions and 1 deletions

View File

@ -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