vc4: Fix return value handling for BO waits.
authorEric Anholt <eric@anholt.net>
Sat, 30 May 2015 00:21:15 +0000 (17:21 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 30 May 2015 01:15:00 +0000 (18:15 -0700)
commitc821ccf0e3a051e5e867792898ae9b8f08e4601a
tree9dd58a25b73cae4f60d37e06000072b90f51caa0
parentfcc79af9e25d5770b8de1f4102901cbf97857a34
vc4: Fix return value handling for BO waits.

If the wait ever returned -ETIME, we'd abort because the errno was
stored in errno and not drmIoctl()'s return value.
src/gallium/drivers/vc4/vc4_bufmgr.c