projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pb_cache: let drivers choose the number of buckets
[mesa.git]
/
src
/
gallium
/
winsys
/
amdgpu
/
drm
/
amdgpu_bo.c
diff --git
a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
index 4b12735bac05600a1ec6838378819f6629f1ddf6..92c314ecf0a43be0bdfb8726267b3107a5354424 100644
(file)
--- a/
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
+++ b/
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
@@
-1226,7
+1226,6
@@
no_slab:
usage = 1 << heap; /* Only set one usage bit for each heap. */
pb_cache_bucket = radeon_get_pb_cache_bucket_index(heap);
- assert(pb_cache_bucket < ARRAY_SIZE(ws->bo_cache.buckets));
/* Get a buffer from the cache. */
bo = (struct amdgpu_winsys_bo*)