vc4: Tell valgrind about BO allocations from mmap time to destroy.
authorEric Anholt <eric@anholt.net>
Tue, 2 Aug 2016 22:01:59 +0000 (15:01 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 3 Aug 2016 17:28:20 +0000 (10:28 -0700)
commite97e9e62a1de9689ce8a2a77cb9657b387a1d14b
treec0843ca5e251e9b284270915ff34119237f2cb3e
parentfd32868590c7cbc5c6c2b3d59ff66694de3864b8
vc4: Tell valgrind about BO allocations from mmap time to destroy.

This helps in debugging memory pressure.  It would be nice if we could
tell valgrind about it all the way from allocation time to destroy, but we
need a pointer to hand to VALGRIND_MALLOCLIKE_BLOCK.
src/gallium/drivers/vc4/Makefile.am
src/gallium/drivers/vc4/vc4_bufmgr.c