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: 6373845d98
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Marek Olšák
parent
92f6af2c4a
commit
8e43bc0eb6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user