winsys/amdgpu: increase the BO hash list size

This decreases overhead inside amdgpu_cs_add_buffer by 40%
for viewperf2020/catia.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13478>
This commit is contained in:
Marek Olšák
2021-10-22 02:04:18 -04:00
committed by Marge Bot
parent a5118bc97d
commit f6d072b2f0
+2 -1
View File
@@ -124,7 +124,8 @@ struct amdgpu_cs_context {
bool secure;
};
#define BUFFER_HASHLIST_SIZE 4096
/* This high limit is needed for viewperf2020/catia. */
#define BUFFER_HASHLIST_SIZE 32768
struct amdgpu_cs {
struct amdgpu_ib main; /* must be first because this is inherited */