v3d: Add support for handling OOM signals from the simulator.
authorEric Anholt <eric@anholt.net>
Tue, 2 Apr 2019 23:51:44 +0000 (16:51 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 5 Apr 2019 00:30:35 +0000 (17:30 -0700)
commite3063a8b2fd7364c9beeb059599a7d4e62c9b4c5
tree3d3f04ab0042b3de2ecfd14bf3ec12cd71c94bcf
parenta113a42e7369a4e43a1db1c9a7a35a3f7175615e
v3d: Add support for handling OOM signals from the simulator.

I have v3d allocating enough initial allocation memory that we've been
passing tests without it, but to match kernel behavior more it would be
good to actually exercise the OOM path.
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3d_simulator.c
src/gallium/drivers/v3d/v3dx_simulator.c