mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-05-21 04:49:03 +00:00
595.71.05
This commit is contained in:
@@ -10991,6 +10991,13 @@ uvm_prot_t uvm_va_block_page_compute_highest_permission(uvm_va_block_t *va_block
|
||||
uvm_processor_mask_t *resident_processors = &va_block_context->scratch_processor_mask;
|
||||
NvU32 resident_processors_count;
|
||||
|
||||
// TODO: Bug 5841902
|
||||
// There are several calls to uvm_va_block_is_hmm() which need to be removed
|
||||
if (uvm_va_block_is_hmm(va_block))
|
||||
return uvm_hmm_compute_mapping_prot(va_block,
|
||||
processor_id,
|
||||
page_index);
|
||||
|
||||
uvm_va_block_page_resident_processors(va_block, page_index, resident_processors);
|
||||
resident_processors_count = uvm_processor_mask_get_count(resident_processors);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user