diff options
author | Marek Olšák <[email protected]> | 2018-01-01 22:47:36 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-01-27 02:09:09 +0100 |
commit | 175549e0e988d10f8277c30ae4e6b6d5fea702a4 (patch) | |
tree | 3494952cae033a314b511b426f4ac219c095c239 /src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | |
parent | ecfd5215024b0db95379cf29b2236294720184cb (diff) |
pb_cache: let drivers choose the number of buckets
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm/amdgpu_bo.c')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c index 4b12735bac0..92c314ecf0a 100644 --- 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*) |