Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c110 #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES)) macro
111 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl))
112 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl))
120 const int shift = gen8_pd_shift(lvl); in gen8_pd_range()
121 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_range()
124 end += ~mask >> gen8_pd_shift(1); in gen8_pd_range()
135 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_contains()
144 if ((start ^ end) >> gen8_pd_shift(1)) in gen8_pt_count()
224 if (atomic_fetch_inc(&pt->used) >> gen8_pd_shift(1) && in __gen8_ppgtt_clear()
230 start += (u64)I915_PDES << gen8_pd_shift(lvl); in __gen8_ppgtt_clear()
[all …]