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.
This commit is contained in:
Eric Anholt
2017-11-20 12:26:49 -08:00
parent 34838c2212
commit 2c8913e224

View File

@@ -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);