drm/ttm: Allow execbuf util reserves without ticket
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 15 Nov 2013 08:02:54 +0000 (00:02 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 18 Nov 2013 08:38:52 +0000 (00:38 -0800)
commit8d17fb4455eadbf2642e34e5584d0b0de64d33a8
tree61f1ace31abc65058160cd634a084c38d2e6c8c8
parenta3483353ca4e6dbeef2ed62ebed01af109b5b27a
drm/ttm: Allow execbuf util reserves without ticket

If no reservation ticket is given to the execbuf reservation utilities,
try reservation with non-blocking semantics.
This is intended for eviction paths that use the execbuf reservation
utilities for convenience rather than for deadlock avoidance.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/ttm/ttm_execbuf_util.c
include/drm/ttm/ttm_execbuf_util.h