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 bf5300c..5446966 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