Displaying 1 result from an estimated 1 matches for "op_unmap_rang".
Did you mean:
op_unmap_range
2024 Mar 28
1
[PATCH] nouveau/uvmm: fix addr/range calcs for remap operations
...addr = uvma->va.va.addr;
- u64 range = uvma->va.va.range;
+ u64 end = uvma->va.va.addr + uvma->va.va.range;
if (r->prev)
addr = r->prev->va.addr + r->prev->va.range;
if (r->next)
- range = r->next->va.addr - addr;
+ end = r->next->va.addr;
- op_unmap_range(u, addr, range);
+ op_unmap_range(u, addr, end - addr);
}
static int
--
2.43.2