iris: drop explicit pinning
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Sep 2018 10:09:19 +0000 (12:09 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
writes will already rw_bo or ro_bo that

src/gallium/drivers/iris/iris_query.c

index 5383c1f81dfd323cc704002f11f0cd4aea279f47..089282c9b50ff62970c99144c17fbeb60f8d12ab 100644 (file)
@@ -172,8 +172,6 @@ write_value(struct iris_context *ice, struct iris_query *q, unsigned offset)
    struct iris_batch *batch = &ice->render_batch;
    const struct gen_device_info *devinfo = &batch->screen->devinfo;
 
-   iris_use_pinned_bo(batch, q->bo, true);
-
    switch (q->type) {
    case PIPE_QUERY_OCCLUSION_COUNTER:
    case PIPE_QUERY_OCCLUSION_PREDICATE: