[PATCH] drm/ttm: Allow vm fault retries

2013-10-29 Thread Jakob Bornecrantz
On Thu, Oct 10, 2013 at 8:22 PM, Thomas Hellstrom wrote: > Make use of the FAULT_FLAG_ALLOW_RETRY flag to allow dropping the > mmap_sem while waiting for bo idle. > > FAULT_FLAG_ALLOW_RETRY appears to be primarily designed for disk waits > but should work just as fine for GPU waits.. > >

[PATCH] drm/ttm: Allow vm fault retries

2013-10-10 Thread Thomas Hellstrom
Make use of the FAULT_FLAG_ALLOW_RETRY flag to allow dropping the mmap_sem while waiting for bo idle. FAULT_FLAG_ALLOW_RETRY appears to be primarily designed for disk waits but should work just as fine for GPU waits.. Signed-off-by: Thomas Hellstrom thellst...@vmware.com ---