aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm2
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-05-18 18:35:14 +0000
committerMark Johnston <markj@FreeBSD.org>2017-05-18 18:35:14 +0000
commit02fb845bbfb7e5dcfaa8d659c83fa5c9afcae2d3 (patch)
tree0f510396e08d287156dfc32d75a098f9f8e9bb17 /sys/dev/drm2
parent3bd485f968c874b941d7430eb0232ea965252721 (diff)
Notes
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r--sys/dev/drm2/ttm/ttm_bo_vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm2/ttm/ttm_bo_vm.c b/sys/dev/drm2/ttm/ttm_bo_vm.c
index 60bf8e23c54d..6d8bb1129bcd 100644
--- a/sys/dev/drm2/ttm/ttm_bo_vm.c
+++ b/sys/dev/drm2/ttm/ttm_bo_vm.c
@@ -126,7 +126,7 @@ reserve:
ret = ttm_bo_reserve(bo, false, false, false, 0);
if (unlikely(ret != 0)) {
if (ret == -EBUSY) {
- kern_yield(0);
+ kern_yield(PRI_USER);
goto reserve;
}
}
@@ -139,7 +139,7 @@ reserve:
case -EBUSY:
case -ERESTARTSYS:
case -EINTR:
- kern_yield(0);
+ kern_yield(PRI_USER);
goto reserve;
default:
retval = VM_PAGER_ERROR;