Mesa (master): winsys/radeon: enlarge buffer_indices_hashlist
Marek Olšák
mareko at kemper.freedesktop.org
Thu Apr 28 19:07:04 UTC 2016
Module: Mesa
Branch: master
Commit: 8e43bc0eb67b39bcac74ba74510442ecaf95cf0a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e43bc0eb67b39bcac74ba74510442ecaf95cf0a
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Tue Mar 8 16:01:47 2016 +0100
winsys/radeon: enlarge buffer_indices_hashlist
Enlarge the buffer hashlist to prevent large numbers of misses
due to adding more buffers than can be cached in the hashlist.
Ported from winsys/amdgpu: 6373845d985d65c00f7c62b793e67ae5106eabff
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
---
src/gallium/winsys/radeon/drm/radeon_drm_cs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.h b/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
index c643b76..8056e72 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
@@ -51,7 +51,7 @@ struct radeon_cs_context {
struct drm_radeon_cs_reloc *relocs;
uint64_t *priority_usage;
- int reloc_indices_hashlist[512];
+ int reloc_indices_hashlist[4096];
uint64_t used_vram;
uint64_t used_gart;
More information about the mesa-commit
mailing list