/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/ |
D | huge_pages.c | 25 static const unsigned int page_sizes[] = { variable 36 for (i = 0; i < ARRAY_SIZE(page_sizes); ++i) { in get_largest_page_size() 37 unsigned int page_size = page_sizes[i]; in get_largest_page_size() 338 unsigned int supported = INTEL_INFO(i915)->page_sizes; in igt_check_page_sizes() 347 if (!HAS_PAGE_SIZES(i915, vma->page_sizes.sg)) { in igt_check_page_sizes() 349 vma->page_sizes.sg & ~supported, supported); in igt_check_page_sizes() 353 if (!HAS_PAGE_SIZES(i915, vma->page_sizes.gtt)) { in igt_check_page_sizes() 355 vma->page_sizes.gtt & ~supported, supported); in igt_check_page_sizes() 359 if (vma->page_sizes.phys != obj->mm.page_sizes.phys) { in igt_check_page_sizes() 361 vma->page_sizes.phys, obj->mm.page_sizes.phys); in igt_check_page_sizes() [all …]
|
D | i915_gem_client_blt.c | 73 &obj->mm.page_sizes, in __igt_client_fill()
|
/Linux-v5.10/tools/testing/selftests/vm/ |
D | thuge-gen.c | 50 unsigned long page_sizes[NUM_PAGESIZES]; variable 69 &page_sizes[i]); in find_pagesizes() 70 page_sizes[i] <<= 10; in find_pagesizes() 71 printf("Found %luMB\n", page_sizes[i] >> 20); in find_pagesizes() 201 if (page_sizes[i] > largest) in sanity_checks() 202 largest = page_sizes[i]; in sanity_checks() 204 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks() 206 page_sizes[i] >> 20, in sanity_checks() 236 unsigned long ps = page_sizes[i]; in main() 248 unsigned long ps = page_sizes[i]; in main()
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 97 unsigned int page_sizes; in i915_sg_page_sizes() local 99 page_sizes = 0; in i915_sg_page_sizes() 103 page_sizes |= sg->length; in i915_sg_page_sizes() 107 return page_sizes; in i915_sg_page_sizes()
|
D | i915_vma_types.h | 186 struct i915_page_sizes page_sizes; member
|
D | intel_device_info.h | 172 unsigned int page_sizes; /* page sizes supported by the HW */ member
|
D | i915_debugfs.c | 97 stringify_page_sizes(unsigned int page_sizes, char *buf, size_t len) in stringify_page_sizes() argument 101 switch (page_sizes) { in stringify_page_sizes() 114 if (page_sizes & I915_GTT_PAGE_SIZE_2M) in stringify_page_sizes() 116 if (page_sizes & I915_GTT_PAGE_SIZE_64K) in stringify_page_sizes() 118 if (page_sizes & I915_GTT_PAGE_SIZE_4K) in stringify_page_sizes() 161 stringify_page_sizes(vma->page_sizes.gtt, NULL, 0)); in i915_debugfs_describe_obj()
|
D | i915_pci.c | 154 .page_sizes = I915_GTT_PAGE_SIZE_4K 635 .page_sizes = I915_GTT_PAGE_SIZE_4K | \ 802 .page_sizes = I915_GTT_PAGE_SIZE_4K | \
|
D | i915_vma.c | 690 vma->page_sizes.sg > I915_GTT_PAGE_SIZE) { in i915_vma_insert() 698 rounddown_pow_of_two(vma->page_sizes.sg | in i915_vma_insert() 710 if (vma->page_sizes.sg & I915_GTT_PAGE_SIZE_64K) in i915_vma_insert()
|
D | intel_device_info.c | 100 drm_printf(p, "page-sizes: %x\n", info->page_sizes); in intel_device_info_print_static()
|
D | i915_gem.c | 1113 mkwrite_device_info(dev_priv)->page_sizes = in i915_gem_init()
|
D | i915_drv.h | 1667 ((sizes) & ~INTEL_INFO(dev_priv)->page_sizes) == 0; \
|
/Linux-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_client_blt.c | 16 struct i915_page_sizes page_sizes; member 24 vma->page_sizes = sleeve->page_sizes; in vma_set_pages() 59 struct i915_page_sizes *page_sizes) in create_sleeve() argument 80 sleeve->page_sizes = *page_sizes; in create_sleeve() 315 struct i915_page_sizes *page_sizes, in i915_gem_schedule_fill_pages_blt() argument 322 sleeve = create_sleeve(ce->vm, obj, pages, page_sizes); in i915_gem_schedule_fill_pages_blt()
|
D | i915_gem_pages.c | 18 unsigned long supported = INTEL_INFO(i915)->page_sizes; in __i915_gem_object_set_pages() 47 obj->mm.page_sizes.phys = sg_page_sizes; in __i915_gem_object_set_pages() 57 obj->mm.page_sizes.sg = 0; in __i915_gem_object_set_pages() 59 if (obj->mm.page_sizes.phys & ~0u << i) in __i915_gem_object_set_pages() 60 obj->mm.page_sizes.sg |= BIT(i); in __i915_gem_object_set_pages() 62 GEM_BUG_ON(!HAS_PAGE_SIZES(i915, obj->mm.page_sizes.sg)); in __i915_gem_object_set_pages() 187 obj->mm.page_sizes.phys = obj->mm.page_sizes.sg = 0; in __i915_gem_object_unset_pages()
|
D | i915_gem_client_blt.h | 18 struct i915_page_sizes *page_sizes,
|
D | i915_gem_object_types.h | 247 } page_sizes; member
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | plpar_wrappers.h | 355 u64 page_sizes, u64 start, u64 end) in pseries_rpt_invalidate() argument 362 page_sizes, start, end); in pseries_rpt_invalidate() 376 all, page_sizes, 0, -1UL); in pseries_rpt_invalidate() 401 u64 page_sizes, u64 start, u64 end) in pseries_rpt_invalidate() argument
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | intel_gtt.c | 119 memset(&vma->page_sizes, 0, sizeof(vma->page_sizes)); in clear_pages() 196 if (obj->mm.page_sizes.sg < size) in setup_scratch_page()
|
D | gen8_ppgtt.c | 432 if (vma->page_sizes.sg & I915_GTT_PAGE_SIZE_2M && in gen8_ppgtt_insert_huge() 449 vma->page_sizes.sg & I915_GTT_PAGE_SIZE_64K && in gen8_ppgtt_insert_huge() 527 vma->page_sizes.gtt |= page_size; in gen8_ppgtt_insert_huge() 539 if (vma->page_sizes.sg > I915_GTT_PAGE_SIZE) { in gen8_ppgtt_insert() 552 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in gen8_ppgtt_insert()
|
D | intel_ppgtt.c | 293 vma->page_sizes = vma->obj->mm.page_sizes; in ppgtt_set_pages()
|
D | intel_ggtt.c | 455 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in ggtt_bind_vma() 811 vma->page_sizes = vma->obj->mm.page_sizes; in ggtt_set_pages()
|
D | gen6_ppgtt.c | 155 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in gen6_ppgtt_insert_entries()
|
/Linux-v5.10/drivers/iommu/ |
D | io-pgtable-arm.c | 673 unsigned long granule, page_sizes; in arm_lpae_restrict_pgsizes() local 694 page_sizes = (SZ_4K | SZ_2M | SZ_1G); in arm_lpae_restrict_pgsizes() 697 page_sizes = (SZ_16K | SZ_32M); in arm_lpae_restrict_pgsizes() 701 page_sizes = (SZ_64K | SZ_512M); in arm_lpae_restrict_pgsizes() 703 page_sizes |= 1ULL << 42; /* 4TB */ in arm_lpae_restrict_pgsizes() 706 page_sizes = 0; in arm_lpae_restrict_pgsizes() 709 cfg->pgsize_bitmap &= page_sizes; in arm_lpae_restrict_pgsizes()
|
/Linux-v5.10/drivers/gpu/drm/i915/selftests/ |
D | mock_gem_device.c | 172 mkwrite_device_info(i915)->page_sizes = in mock_gem_device()
|
/Linux-v5.10/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 265 const unsigned int *page_sizes; member 661 ctrl->page_sizes = page_sizes_v3_4; in brcmnand_revision_init() 663 ctrl->page_sizes = page_sizes_v2_2; in brcmnand_revision_init() 665 ctrl->page_sizes = page_sizes_v2_1; in brcmnand_revision_init() 2436 if (ctrl->page_sizes) { in brcmnand_set_cfg() 2439 for (i = 0, found = 0; ctrl->page_sizes[i]; i++) in brcmnand_set_cfg() 2440 if (ctrl->page_sizes[i] == cfg->page_size) { in brcmnand_set_cfg()
|