From 23572cdd07bc16add91ec2df6a2d6c84fa2843af Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 28 Sep 2018 12:09:19 +0200 Subject: iris: drop explicit pinning writes will already rw_bo or ro_bo that --- src/gallium/drivers/iris/iris_query.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium') 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: -- cgit v1.2.3