Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_gtt.h58 #define I915_PDES 512 macro
59 #define I915_PDE_MASK (I915_PDES - 1)
63 #define GEN6_PD_SIZE (I915_PDES * PAGE_SIZE)
258 struct i915_page_table *page_table[I915_PDES]; /* PDEs */
397 length > 0 && iter < I915_PDES ? \
406 pt = ppgtt->pd.page_table[iter], iter < I915_PDES; \
463 length > 0 && iter < I915_PDES ? \
Di915_gem_gtt.c490 pd->used_pdes = kcalloc(BITS_TO_LONGS(I915_PDES), in alloc_pd()
745 if (++pde == I915_PDES) { in gen8_ppgtt_clear_pte_range()
806 if (++pde == I915_PDES) { in gen8_ppgtt_insert_pte_entries()
854 for_each_set_bit(i, pd->used_pdes, I915_PDES) { in gen8_free_page_tables()
1044 for_each_set_bit(pde, new_pts, I915_PDES) in gen8_ppgtt_alloc_pagetabs()
1188 pts = kcalloc(pdpes, BITS_TO_LONGS(I915_PDES) * sizeof(unsigned long), in alloc_gen8_temp_bitmaps()
1254 new_page_tables + pdpe * BITS_TO_LONGS(I915_PDES)); in gen8_alloc_va_range_3lvl()
1312 BITS_TO_LONGS(I915_PDES), I915_PDES) in gen8_alloc_va_range_3lvl()
1864 DECLARE_BITMAP(new_page_tables, I915_PDES); in gen6_alloc_va_range()
1880 bitmap_zero(new_page_tables, I915_PDES); in gen6_alloc_va_range()
[all …]