summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_query.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-09-28 12:09:19 +0200
committerKenneth Graunke <[email protected]>2019-02-21 10:26:08 -0800
commit23572cdd07bc16add91ec2df6a2d6c84fa2843af (patch)
tree3d7ba24201aae8c6bfd3a3ab2c26784a75128427 /src/gallium/drivers/iris/iris_query.c
parentd8875fe406afef3fe4aa945f266e1dcfd1900c37 (diff)
iris: drop explicit pinning
writes will already rw_bo or ro_bo that
Diffstat (limited to 'src/gallium/drivers/iris/iris_query.c')
-rw-r--r--src/gallium/drivers/iris/iris_query.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_query.c b/src/gallium/drivers/iris/iris_query.c
index 5383c1f81df..089282c9b50 100644
--- a/src/gallium/drivers/iris/iris_query.c
+++ b/src/gallium/drivers/iris/iris_query.c
@@ -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: