Home
last modified time | relevance | path

Searched refs:pt_idx (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_vm.c453 unsigned last_pfn, pt_idx; in radeon_vm_bo_set_addr() local
541 for (pt_idx = soffset; pt_idx <= eoffset; ++pt_idx) { in radeon_vm_bo_set_addr()
544 if (vm->page_tables[pt_idx].bo) in radeon_vm_bo_set_addr()
565 if (vm->page_tables[pt_idx].bo) { in radeon_vm_bo_set_addr()
573 vm->page_tables[pt_idx].addr = 0; in radeon_vm_bo_set_addr()
574 vm->page_tables[pt_idx].bo = pt; in radeon_vm_bo_set_addr()
648 unsigned count = 0, pt_idx, ndw; in radeon_vm_update_page_directory() local
668 for (pt_idx = 0; pt_idx <= vm->max_pde_used; ++pt_idx) { in radeon_vm_update_page_directory()
669 struct radeon_bo *bo = vm->page_tables[pt_idx].bo; in radeon_vm_update_page_directory()
676 if (vm->page_tables[pt_idx].addr == pt) in radeon_vm_update_page_directory()
[all …]