]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Allow vm fault retries
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 9 Oct 2013 10:18:07 +0000 (03:18 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 6 Nov 2013 12:14:43 +0000 (04:14 -0800)
commit02f4040a295c76f11b95f95dff4c73ceb54f518f
treeef667b3eca6206be60d338af822ab707365d1f74
parentf998dd321d96df3d706aac2e9b8d4d8405031535
drm/ttm: Allow vm fault retries

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 <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/ttm/ttm_bo_vm.c