summaryrefslogtreecommitdiff
path: root/tests/ttmtest/src/xf86dri.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-12-02 13:36:22 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-12-02 14:29:23 +0000
commit57473c7f523f476ffa54c34e0c6312ffa66dcc5c (patch)
treed670ad58335b2d7483bb4b12ebb645f74ba4a0cb /tests/ttmtest/src/xf86dri.h
parent792fed1e2460f96459141b5a628dd5ab4fbb87db (diff)
intel: Free memory before inserting bo into cache.
This has the unfortunate behaviour of releasing our malloc cache, but the alternative is for X to consume a couple of gigabytes of ram and die during testing. Fortunately the extra mallocs have little impact on performance whereas avoiding swap and death, lots. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/ttmtest/src/xf86dri.h')
0 files changed, 0 insertions, 0 deletions