winsys/radeon: bump the size of relocation hashlist
authorMarek Olšák <maraeo@gmail.com>
Tue, 8 Jan 2013 15:38:10 +0000 (16:38 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 8 Jan 2013 15:41:57 +0000 (16:41 +0100)
This should reduce the number of hash collisions in ETQW.

src/gallium/winsys/radeon/drm/radeon_drm_cs.h

index 286eb6a3409ed7b41cd646085fe4391318eedc69..a88fba5b40eb775fd91efac4f8a8d82605ed21a2 100644 (file)
@@ -47,8 +47,8 @@ struct radeon_cs_context {
     struct drm_radeon_cs_reloc  *relocs;
 
     /* 0 = BO not added, 1 = BO added */
-    char                        is_handle_added[256];
-    unsigned                    reloc_indices_hashlist[256];
+    char                        is_handle_added[512];
+    unsigned                    reloc_indices_hashlist[512];
 
     unsigned                    used_vram;
     unsigned                    used_gart;