535.43.02

This commit is contained in:
Andy Ritger
2023-05-30 10:11:36 -07:00
parent 6dd092ddb7
commit eb5c7665a1
1403 changed files with 295367 additions and 86235 deletions

View File

@@ -54,7 +54,7 @@ static void uvm_pte_batch_flush_ptes_inline(uvm_pte_batch_t *batch)
uvm_push_set_flag(batch->push, UVM_PUSH_FLAG_NEXT_MEMBAR_NONE);
uvm_push_set_flag(batch->push, UVM_PUSH_FLAG_CE_NEXT_PIPELINED);
gpu->parent->ce_hal->memcopy(batch->push,
uvm_gpu_address_from_phys(batch->pte_first_address),
uvm_mmu_gpu_address(gpu, batch->pte_first_address),
inline_data_addr,
ptes_size);
}
@@ -62,7 +62,7 @@ static void uvm_pte_batch_flush_ptes_inline(uvm_pte_batch_t *batch)
static void uvm_pte_batch_flush_ptes_memset(uvm_pte_batch_t *batch)
{
uvm_gpu_t *gpu = uvm_push_get_gpu(batch->push);
uvm_gpu_address_t addr = uvm_gpu_address_from_phys(batch->pte_first_address);
uvm_gpu_address_t addr = uvm_mmu_gpu_address(gpu, batch->pte_first_address);
NvU32 i;
UVM_ASSERT(batch->pte_count != 0);
@@ -201,7 +201,7 @@ void uvm_pte_batch_clear_ptes(uvm_pte_batch_t *batch, uvm_gpu_phys_address_t fir
uvm_push_set_flag(batch->push, UVM_PUSH_FLAG_CE_NEXT_PIPELINED);
uvm_push_set_flag(batch->push, UVM_PUSH_FLAG_NEXT_MEMBAR_NONE);
gpu->parent->ce_hal->memset_8(batch->push,
uvm_gpu_address_from_phys(first_pte),
uvm_mmu_gpu_address(gpu, first_pte),
empty_pte_bits,
entry_size * entry_count);