/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_region.c | 59 default_page_size = mem->min_page_size; in __i915_gem_object_create_region() 91 if (default_page_size < mem->min_page_size) in __i915_gem_object_create_region() 124 if (GEM_WARN_ON(!IS_ALIGNED(size, mem->min_page_size)) || in i915_gem_object_create_region_at() 125 GEM_WARN_ON(!IS_ALIGNED(offset, mem->min_page_size))) in i915_gem_object_create_region_at()
|
H A D | i915_gem_stolen.c | 777 mem->min_page_size); in _i915_gem_object_stolen_init() 899 resource_size_t min_page_size; in i915_gem_stolen_lmem_setup() local 960 min_page_size = HAS_64K_PAGES(i915) ? I915_GTT_PAGE_SIZE_64K : in i915_gem_stolen_lmem_setup() 964 min_page_size, in i915_gem_stolen_lmem_setup()
|
H A D | i915_gem_create.c | 28 GEM_BUG_ON(!is_power_of_2(mr->min_page_size)); in object_max_page_size() 29 max_page_size = max_t(u32, max_page_size, mr->min_page_size); in object_max_page_size()
|
H A D | i915_gem_object.c | 698 if (!IS_ALIGNED(obj->base.size, mr->min_page_size)) in i915_gem_object_can_migrate()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_ttm_vram_mgr.c | 55 u64 size, remaining_size, min_page_size; in xe_ttm_vram_mgr_new() local 92 min_page_size = mgr->default_page_size; in xe_ttm_vram_mgr_new() 94 min_page_size = (u64)tbo->page_alignment << PAGE_SHIFT; in xe_ttm_vram_mgr_new() 96 if (WARN_ON(min_page_size < mm->chunk_size)) { in xe_ttm_vram_mgr_new() 101 if (WARN_ON(min_page_size > SZ_2G)) { /* FIXME: sg limit */ in xe_ttm_vram_mgr_new() 112 if (WARN_ON(!IS_ALIGNED(size, min_page_size))) { in xe_ttm_vram_mgr_new() 127 min_page_size = size; in xe_ttm_vram_mgr_new() 143 min_page_size, in xe_ttm_vram_mgr_new()
|
H A D | xe_query.c | 276 mem_regions->mem_regions[0].min_page_size = PAGE_SIZE; in query_mem_regions() 289 mem_regions->mem_regions[mem_regions->num_mem_regions].min_page_size = in query_mem_regions()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | mock_region.c | 37 obj->mm.region->min_page_size); in mock_region_get_pages() 109 resource_size_t min_page_size, in mock_region_create() argument 120 return intel_memory_region_create(i915, start, size, min_page_size, in mock_region_create()
|
H A D | mock_region.h | 18 resource_size_t min_page_size,
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_ttm_buddy_manager.c | 43 u64 min_page_size; in i915_ttm_buddy_man_alloc() local 71 min_page_size = bman->default_page_size; in i915_ttm_buddy_man_alloc() 73 min_page_size = bo->page_alignment << PAGE_SHIFT; in i915_ttm_buddy_man_alloc() 75 GEM_BUG_ON(min_page_size < mm->chunk_size); in i915_ttm_buddy_man_alloc() 76 GEM_BUG_ON(!IS_ALIGNED(size, min_page_size)); in i915_ttm_buddy_man_alloc() 95 min_page_size, in i915_ttm_buddy_man_alloc()
|
H A D | intel_memory_region.h | 68 resource_size_t min_page_size; member 96 resource_size_t min_page_size,
|
H A D | intel_memory_region.c | 239 resource_size_t min_page_size, in intel_memory_region_create() argument 256 mem->min_page_size = min_page_size; in intel_memory_region_create()
|
H A D | intel_region_ttm.c | 91 mem->min_page_size, PAGE_SIZE); in intel_region_ttm_init()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_region_lmem.c | 207 resource_size_t min_page_size; in setup_lmem() local 258 min_page_size = HAS_64K_PAGES(i915) ? I915_GTT_PAGE_SIZE_64K : in setup_lmem() 263 min_page_size, in setup_lmem()
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_pages.c | 1352 u32 min_page_size, in igt_random_size() argument 1358 GEM_BUG_ON(!is_power_of_2(min_page_size)); in igt_random_size() 1360 GEM_BUG_ON(min_page_size < PAGE_SIZE); in igt_random_size() 1361 GEM_BUG_ON(min_page_size > max_page_size); in igt_random_size() 1365 if (size < min_page_size) in igt_random_size() 1366 size |= min_page_size; in igt_random_size() 1678 addr = round_up(addr, mr->min_page_size); in igt_ppgtt_mixed() 1718 addr = round_up(addr, obj->mm.region->min_page_size); in igt_ppgtt_mixed()
|
H A D | i915_gem_migrate.c | 60 obj = i915_gem_object_create_region(src_mr, dst_mr->min_page_size, 0, 0); in igt_create_migrate()
|
H A D | i915_gem_mman.c | 981 mr->min_page_size, in igt_mmap() 1074 if (size == mr->min_page_size) { in igt_fill_mappable()
|
/linux/include/drm/ |
H A D | drm_buddy.h | 154 u64 min_page_size,
|
/linux/include/uapi/drm/ |
H A D | xe_drm.h | 319 __u32 min_page_size; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_plane_initial.c | 160 mem->min_page_size); in initial_plane_vma()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 879 u64 min_page_size = 1ull << MLX5_CAP_GEN(mdev, log_pg_sz); in mlx5_ib_query_device() local 1024 props->page_size_cap = ~(min_page_size - 1); in mlx5_ib_query_device()
|