On Thu, Apr 28, 2016 at 2:05 PM, Marek Olšák <mar...@gmail.com> wrote: > From: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> > > 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
Series is: Reviewed-by: Alex Deucher <alexander.deuc...@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; > -- > 2.5.0 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev