Searched refs:gen8_pd_index (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | gen8_ppgtt.c | 141 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl)) macro 195 return i915_pd_entry(ppgtt->pd, gen8_pd_index(idx, vm->top)); in gen8_pdp_for_page_index() 272 unsigned int pte = gen8_pd_index(start, 0); in __gen8_ppgtt_clear() 279 gen8_pd_index(start, 0), count, in __gen8_ppgtt_clear() 378 gen8_pd_index(*start, 0), count, in __gen8_ppgtt_alloc() 466 pd = i915_pd_entry(pdp, gen8_pd_index(idx, 2)); in gen8_ppgtt_insert_pte() 467 vaddr = px_vaddr(i915_pt_entry(pd, gen8_pd_index(idx, 1))); in gen8_ppgtt_insert_pte() 470 vaddr[gen8_pd_index(idx, 0)] = pte_encode | iter->dma; in gen8_ppgtt_insert_pte() 484 if (gen8_pd_index(++idx, 0) == 0) { in gen8_ppgtt_insert_pte() 485 if (gen8_pd_index(idx, 1) == 0) { in gen8_ppgtt_insert_pte() [all …]
|