iris: drop explicit pinning

writes will already rw_bo or ro_bo that
This commit is contained in:
Kenneth Graunke 2018-09-28 12:09:19 +02:00
parent d8875fe406
commit 23572cdd07

View 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: