Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_cpu.c90 value = p->pages_addr ? in amdgpu_vm_cpu_update()
91 amdgpu_vm_map_gart(p->pages_addr, addr) : in amdgpu_vm_cpu_update()
Damdgpu_vm_sdma.c63 if (p->pages_addr) in amdgpu_vm_sdma_alloc_job()
265 if (!p->pages_addr) { in amdgpu_vm_sdma_update()
288 pte[i] = amdgpu_vm_map_gart(p->pages_addr, addr); in amdgpu_vm_sdma_update()
Damdgpu_vm.c741 uint64_t amdgpu_vm_map_gart(const dma_addr_t *pages_addr, uint64_t addr) in amdgpu_vm_map_gart() argument
746 result = pages_addr[addr >> PAGE_SHIFT]; in amdgpu_vm_map_gart()
867 struct ttm_resource *res, dma_addr_t *pages_addr, in amdgpu_vm_update_range() argument
900 params.pages_addr = pages_addr; in amdgpu_vm_update_range()
929 amdgpu_res_first(pages_addr ? NULL : res, offset, in amdgpu_vm_update_range()
935 if (pages_addr) { in amdgpu_vm_update_range()
942 contiguous = pages_addr[pfn + 1] == in amdgpu_vm_update_range()
943 pages_addr[pfn] + PAGE_SIZE; in amdgpu_vm_update_range()
950 if (contiguous != (pages_addr[idx] == in amdgpu_vm_update_range()
951 pages_addr[idx - 1] + PAGE_SIZE)) in amdgpu_vm_update_range()
[all …]
Damdgpu_vm.h226 dma_addr_t *pages_addr; member
428 struct ttm_resource *res, dma_addr_t *pages_addr,
436 uint64_t amdgpu_vm_map_gart(const dma_addr_t *pages_addr, uint64_t addr);
Damdgpu_trace.h355 u64 addr = p->pages_addr ? amdgpu_vm_map_gart(
356 p->pages_addr, dst) : dst;
Damdgpu_vm_pt.c848 if (!params->pages_addr) in amdgpu_vm_pte_update_flags()
905 if (params->pages_addr) { in amdgpu_vm_pte_fragment()