vc4: When the create ioctl fails, free our cache and try again.
authorEric Anholt <eric@anholt.net>
Wed, 4 Nov 2015 21:27:16 +0000 (13:27 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 4 Nov 2015 22:04:14 +0000 (14:04 -0800)
commit6d3a24bce80a32063aedfe568efd5532aea4c875
tree89efb07633c56b5111e0f4b6650491a3a45fd525
parent3f7c96c36cb18a9e4616d373369a130416884bf9
vc4: When the create ioctl fails, free our cache and try again.

This greatly increases the pressure you can put on the driver before
create fails.  Ultimately we need to let the kernel take control of
our cached BOs and just take them from us (and other clients)
directly, but this is a very easy patch for the moment.

Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/vc4/vc4_bufmgr.c