summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-05-02 14:28:27 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:06 -0800
commit053fb51125451f7779ee1b89d5d20f50480c0314 (patch)
treeee0b9ec6459995eb470b45aa892b2dcc0550cf88 /src/gallium/drivers
parentca735c5e0cc0462121fc0d8f830ca02d30b4af1f (diff)
iris: just turn batch reset_and_clear_caches into reset
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/iris/iris_batch.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index 8ea7cf761bf..12aea86e9e4 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -226,12 +226,7 @@ iris_batch_reset(struct iris_batch *batch)
if (batch->state_sizes)
_mesa_hash_table_clear(batch->state_sizes, NULL);
-}
-static void
-iris_batch_reset_and_clear_caches(struct iris_batch *batch)
-{
- iris_batch_reset(batch);
iris_cache_sets_clear(batch);
}
@@ -456,7 +451,7 @@ _iris_batch_flush_fence(struct iris_batch *batch,
batch->aperture_space = 0;
/* Start a new batch buffer. */
- iris_batch_reset_and_clear_caches(batch);
+ iris_batch_reset(batch);
return 0;
}