iris: Use iris_use_pinned_bo rather than add_exec_bo directly
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Nov 2018 05:32:52 +0000 (21:32 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
less special this way

src/gallium/drivers/iris/iris_batch.c

index bf5300c80fecb984a201ee639b6ccfc22f3787de..5446966b19955a2fa45443219a778c1789972fc4 100644 (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