Module: Mesa
Branch: master
Commit: 2c8913e2242dc86b7f70bbb32e9952ea3adbdfc6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c8913e2242dc86b7f70bbb32e9952ea3adbdfc6

Author: Eric Anholt <[email protected]>
Date:   Mon Nov 20 12:26:49 2017 -0800

broadcom/vc5: Increase simulator memory for tex-miplevel-selection.

We were overflowing, because of all the little 4k allocations for CLs that
were getting expanded to 128kb in the simulator due to the GMP alignment.

---

 src/gallium/drivers/vc5/vc5_simulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc5/vc5_simulator.c 
b/src/gallium/drivers/vc5/vc5_simulator.c
index fc6a38d372..d027593d92 100644
--- a/src/gallium/drivers/vc5/vc5_simulator.c
+++ b/src/gallium/drivers/vc5/vc5_simulator.c
@@ -676,7 +676,7 @@ vc5_simulator_init_global(void)
         }
 
         sim_state.v3d = v3d_hw_auto_new(NULL);
-        v3d_hw_alloc_mem(sim_state.v3d, 256 * 1024 * 1024);
+        v3d_hw_alloc_mem(sim_state.v3d, 1024 * 1024 * 1024);
         sim_state.mem_base =
                 v3d_hw_get_mem(sim_state.v3d, &sim_state.mem_size,
                                &sim_state.mem);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to