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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user