From: Bas Nieuwenhuizen Date: Tue, 8 Mar 2016 15:01:47 +0000 (+0100) Subject: winsys/radeon: enlarge buffer_indices_hashlist X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e43bc0eb67b39bcac74ba74510442ecaf95cf0a;p=mesa.git 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 --- 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;