From: Eric Anholt Date: Mon, 20 Nov 2017 20:26:49 +0000 (-0800) Subject: broadcom/vc5: Increase simulator memory for tex-miplevel-selection. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c8913e2242dc86b7f70bbb32e9952ea3adbdfc6;p=mesa.git 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. --- diff --git a/src/gallium/drivers/vc5/vc5_simulator.c b/src/gallium/drivers/vc5/vc5_simulator.c index fc6a38d372b..d027593d926 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);