From: Kenneth Graunke Date: Fri, 28 Sep 2018 10:09:19 +0000 (+0200) Subject: iris: drop explicit pinning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23572cdd07bc16add91ec2df6a2d6c84fa2843af;p=mesa.git iris: drop explicit pinning writes will already rw_bo or ro_bo that --- 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: