Make the assertions guarding syscalls (drmIoctl in particular) verbose
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Mar 2012 11:45:59 +0000 (12:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Mar 2012 11:50:07 +0000 (12:50 +0100)
commitb7bd1837ccc980666f5502fbd428d3a4be3cd26f
tree33889da2e438dbcec78e3135a48a6a8c4769b898
parent9dbce0991f4eb353ab892c88299bbebf2cb1a285
Make the assertions guarding syscalls (drmIoctl in particular) verbose

Currently all we see is gem_read: ret == 0 failed, where it would help
to see the errno and/or the ret.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lib/drmtest.c
lib/drmtest.h
lib/intel_batchbuffer.c