vc4: Switch simulator to using kernel validator
authorEric Anholt <eric@anholt.net>
Fri, 18 Jul 2014 20:06:01 +0000 (13:06 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 11 Aug 2014 21:40:45 +0000 (14:40 -0700)
commita3cd3c0d198374647df3db83198e8ce0cddcb6b7
treead6f36cbf7b4c8bf081b0ea4c62620ef62e97282
parenta02c658908384b81e9d27e2555ba2fce2cc0f6a8
vc4: Switch simulator to using kernel validator

This ensures that when I'm using the simulator, I get a closer match to
what behavior on real hardware will be.  It lets me rapidly iterate on the
kernel validation code (which otherwise has a several-minute turnaround
time), and helps catch buffer overflow bugs in the userspace driver
faster.
src/gallium/drivers/vc4/Makefile.sources
src/gallium/drivers/vc4/vc4_bufmgr.c
src/gallium/drivers/vc4/vc4_cl.c
src/gallium/drivers/vc4/vc4_cl.h
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_screen.h
src/gallium/drivers/vc4/vc4_simulator.c
src/gallium/drivers/vc4/vc4_simulator_validate.c [new file with mode: 0644]
src/gallium/drivers/vc4/vc4_simulator_validate.h [new file with mode: 0644]