diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-03-08 16:01:47 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-04-28 21:06:31 +0200 |
commit | 8e43bc0eb67b39bcac74ba74510442ecaf95cf0a (patch) | |
tree | 56fe26b576c0bef7c446c4df70a52cc7c228fabb /src | |
parent | 92f6af2c4a360c6e499ead0fdfbd57e63615e9bb (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |