Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/ttm We need just a VA, not wi...
details: https://anonhg.NetBSD.org/src/rev/68a96c160a18
branches: trunk
changeset: 330687:68a96c160a18
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Jul 18 00:00:51 2014 +0000
description:
We need just a VA, not wired physical pages too.
diffstat:
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5659e5b021ee -r 68a96c160a18 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c Thu Jul 17 21:14:24 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c Fri Jul 18 00:00:51 2014 +0000
@@ -666,7 +666,7 @@
KASSERT(start_page <= (ttm->num_pages - num_pages));
prot = ttm_io_prot(mem->placement, (VM_PROT_READ | VM_PROT_WRITE));
vaddr = uvm_km_alloc(kernel_map, (num_pages << PAGE_SHIFT), PAGE_SIZE,
- UVM_KMF_WIRED | UVM_KMF_VAONLY | UVM_KMF_CANFAIL | UVM_KMF_WAITVA);
+ UVM_KMF_VAONLY | UVM_KMF_CANFAIL | UVM_KMF_WAITVA);
if (vaddr == 0)
return -ENOMEM;
for (i = 0; i < num_pages; i++)
Home |
Main Index |
Thread Index |
Old Index