vc4: Handle refcounting the exec BO like we do in the kernel.
authorEric Anholt <eric@anholt.net>
Fri, 12 Jun 2015 19:47:47 +0000 (12:47 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jun 2015 22:15:14 +0000 (15:15 -0700)
commit6dd55b49090da22d3a8e9226507a95e914eaf10f
treedf82a883e62f7b1b5468fe061d926ab9a8c473ea
parent731ac05cc4e444175288032a76a29c95059af038
vc4: Handle refcounting the exec BO like we do in the kernel.

This reduces the diff to the kernel, and will be useful when I make the
kernel allocate more BOs as part of validation.
src/gallium/drivers/vc4/kernel/vc4_drv.h
src/gallium/drivers/vc4/kernel/vc4_gem.c
src/gallium/drivers/vc4/vc4_simulator.c
src/gallium/drivers/vc4/vc4_simulator_validate.h