Searched refs:I915_PDES (Results 1 – 5 of 5) sorted by relevance
59 length > 0 && iter < I915_PDES && \67 iter < I915_PDES && \
262 __gen8_ppgtt_cleanup(vm, as_pd(pt), I915_PDES, lvl); in __gen8_ppgtt_clear()263 start += (u64)I915_PDES << gen8_pd_shift(lvl); in __gen8_ppgtt_clear()383 GEM_BUG_ON(atomic_read(&pt->used) > NALLOC * I915_PDES); in __gen8_ppgtt_alloc()528 max = I915_PDES; in xehp_ppgtt_insert_huge()654 rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE)) in gen8_ppgtt_insert_huge()679 if (maybe_64K != -1 && index < I915_PDES && in gen8_ppgtt_insert_huge()682 rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE))) in gen8_ppgtt_insert_huge()688 } while (rem >= page_size && index < I915_PDES); in gen8_ppgtt_insert_huge()699 (index == I915_PDES || in gen8_ppgtt_insert_huge()931 GEM_BUG_ON(count > I915_PDES); in gen8_alloc_top_pd()
57 pd = __alloc_pd(I915_PDES); in alloc_pd()105 GEM_BUG_ON(atomic_read(px_used(pd)) > NALLOC * I915_PDES); in __set_pd_entry()257 shift += ilog2(I915_PDES); /* Each PD holds 512 entries */ in i915_vm_alloc_pt_stash()
68 #define I915_PDES 512 macro69 #define I915_PDE_MASK (I915_PDES - 1)80 #define GEN6_PD_SIZE (I915_PDES * PAGE_SIZE)
386 pd = __alloc_pd(I915_PDES); in gen6_alloc_top_pd()392 I915_PDES * SZ_4K); in gen6_alloc_top_pd()