• Home
  • Raw
  • Download

Lines Matching refs:virt_addr

42    uint64_t virt_addr;  member
101 return cmp_uint64(entry->virt_addr, *(const uint64_t *)addr); in cmp_ggtt_entry()
105 ensure_ggtt_entry(struct aub_mem *mem, uint64_t virt_addr) in ensure_ggtt_entry() argument
107 struct rb_node *node = rb_tree_search_sloppy(&mem->ggtt, &virt_addr, in ensure_ggtt_entry()
110 if (!node || (cmp = cmp_ggtt_entry(node, &virt_addr))) { in ensure_ggtt_entry()
112 new_entry->virt_addr = virt_addr; in ensure_ggtt_entry()
121 search_ggtt_entry(struct aub_mem *mem, uint64_t virt_addr) in search_ggtt_entry() argument
123 virt_addr &= ~0xfff; in search_ggtt_entry()
125 struct rb_node *node = rb_tree_search(&mem->ggtt, &virt_addr, cmp_ggtt_entry); in search_ggtt_entry()
212 uint64_t virt_addr = (address / sizeof(uint64_t)) << 12; in aub_mem_ggtt_entry_write() local
217 entry++, virt_addr += 4096) { in aub_mem_ggtt_entry_write()
218 struct ggtt_entry *pt = ensure_ggtt_entry(mem, virt_addr); in aub_mem_ggtt_entry_write()
275 if (start && start->virt_addr < address) in aub_mem_get_ggtt_bo()
282 i && last->virt_addr + 4096 == i->virt_addr; in aub_mem_get_ggtt_bo()
286 bo.addr = MIN2(address, start->virt_addr); in aub_mem_get_ggtt_bo()
287 bo.size = last->virt_addr - bo.addr + 4096; in aub_mem_get_ggtt_bo()
300 uint32_t map_offset = i->virt_addr - address; in aub_mem_get_ggtt_bo()
420 aub_mem_get_ppgtt_addr_data(struct aub_mem *mem, uint64_t virt_addr) in aub_mem_get_ppgtt_addr_data() argument
422 struct phys_mem *page = ppgtt_walk(mem, mem->pml4, virt_addr); in aub_mem_get_ppgtt_addr_data()
424 …(struct intel_batch_decode_bo) { .map = page->data, .addr = virt_addr & ~((1ULL << 12) - 1), .size… in aub_mem_get_ppgtt_addr_data()
429 aub_mem_get_ppgtt_addr_aub_data(struct aub_mem *mem, uint64_t virt_addr) in aub_mem_get_ppgtt_addr_aub_data() argument
431 struct phys_mem *page = ppgtt_walk(mem, mem->pml4, virt_addr); in aub_mem_get_ppgtt_addr_aub_data()
433 …(struct intel_batch_decode_bo) { .map = page->aub_data, .addr = virt_addr & ~((1ULL << 12) - 1), .… in aub_mem_get_ppgtt_addr_aub_data()