summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-09-12 16:27:41 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-09-27 16:45:41 +0200
commit4421c0fb0dc7a51c3d639c452ad8a5d55a99cec1 (patch)
treefe8256b9fcf727432e2696a08ccf8c8f4cb86faf /src/gallium/auxiliary
parentfb827c055cb1bdd2b18d0687c06c56b537d805f3 (diff)
downloadexternal_mesa3d-4421c0fb0dc7a51c3d639c452ad8a5d55a99cec1.zip
external_mesa3d-4421c0fb0dc7a51c3d639c452ad8a5d55a99cec1.tar.gz
external_mesa3d-4421c0fb0dc7a51c3d639c452ad8a5d55a99cec1.tar.bz2
gallium/radeon/winsyses: reduce the number of pb_cache buckets
Small buffers are now handled via the slabs code, so separate buckets in pb_cache have become redundant. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_cache.h b/src/gallium/auxiliary/pipebuffer/pb_cache.h
index aa83cc8..7000fcd 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_cache.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_cache.h
@@ -50,7 +50,7 @@ struct pb_cache
/* The cache is divided into buckets for minimizing cache misses.
* The driver controls which buffer goes into which bucket.
*/
- struct list_head buckets[8];
+ struct list_head buckets[4];
pipe_mutex mutex;
uint64_t cache_size;