Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_gem_gtt.h88 #define I915_PDES 512 macro
89 #define I915_PDE_MASK (I915_PDES - 1)
93 #define GEN6_PD_SIZE (I915_PDES * PAGE_SIZE)
457 length > 0 && iter < I915_PDES && \
465 iter < I915_PDES && \
Di915_gem_gtt.c986 __gen8_ppgtt_cleanup(vm, as_pd(pt), I915_PDES, lvl); in __gen8_ppgtt_clear()
987 start += (u64)I915_PDES << gen8_pd_shift(lvl); in __gen8_ppgtt_clear()
1086 gen8_pt_count(*start, end) < I915_PDES) in __gen8_ppgtt_alloc()
1122 GEM_BUG_ON(atomic_read(&pt->used) > 2 * I915_PDES); in __gen8_ppgtt_alloc()
1256 rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE)) in gen8_ppgtt_insert_huge()
1278 if (maybe_64K != -1 && index < I915_PDES && in gen8_ppgtt_insert_huge()
1281 rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE))) in gen8_ppgtt_insert_huge()
1287 } while (rem >= page_size && index < I915_PDES); in gen8_ppgtt_insert_huge()
1298 (index == I915_PDES || in gen8_ppgtt_insert_huge()
1770 memset_p(pd->entry, &vm->scratch[1], I915_PDES); in gen6_ppgtt_init_scratch()