From 8e43bc0eb67b39bcac74ba74510442ecaf95cf0a Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 8 Mar 2016 16:01:47 +0100 Subject: [PATCH] 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 --- 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 c643b76a9cd..8056e72fc41 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; -- 2.30.2