Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c111 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl)) macro
165 return i915_pd_entry(ppgtt->pd, gen8_pd_index(idx, vm->top)); in gen8_pdp_for_page_index()
239 unsigned int pte = gen8_pd_index(start, 0); in __gen8_ppgtt_clear()
246 gen8_pd_index(start, 0), count, in __gen8_ppgtt_clear()
345 gen8_pd_index(*start, 0), count, in __gen8_ppgtt_alloc()
433 pd = i915_pd_entry(pdp, gen8_pd_index(idx, 2)); in gen8_ppgtt_insert_pte()
434 vaddr = px_vaddr(i915_pt_entry(pd, gen8_pd_index(idx, 1))); in gen8_ppgtt_insert_pte()
437 vaddr[gen8_pd_index(idx, 0)] = pte_encode | iter->dma; in gen8_ppgtt_insert_pte()
451 if (gen8_pd_index(++idx, 0) == 0) { in gen8_ppgtt_insert_pte()
452 if (gen8_pd_index(idx, 1) == 0) { in gen8_ppgtt_insert_pte()
[all …]