Home
last modified time | relevance | path

Searched refs:default_page_size (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_region.c40 resource_size_t default_page_size; in __i915_gem_object_create_region() local
59 default_page_size = mem->min_page_size; in __i915_gem_object_create_region()
61 default_page_size = page_size; in __i915_gem_object_create_region()
64 GEM_BUG_ON(overflows_type(default_page_size, u32)); in __i915_gem_object_create_region()
65 GEM_BUG_ON(!is_power_of_2_u64(default_page_size)); in __i915_gem_object_create_region()
66 GEM_BUG_ON(default_page_size < PAGE_SIZE); in __i915_gem_object_create_region()
68 size = round_up(size, default_page_size); in __i915_gem_object_create_region()
70 if (default_page_size == size) in __i915_gem_object_create_region()
91 if (default_page_size < mem->min_page_size) in __i915_gem_object_create_region()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c25 u64 default_page_size; member
68 min_page_size = bman->default_page_size; in i915_ttm_buddy_man_alloc()
248 bman->default_page_size >> 10); in i915_ttm_buddy_man_debug()
302 u64 size, u64 visible_size, u64 default_page_size, in i915_ttm_buddy_man_init() argument
319 GEM_BUG_ON(default_page_size < chunk_size); in i915_ttm_buddy_man_init()
320 bman->default_page_size = default_page_size; in i915_ttm_buddy_man_init()
Di915_ttm_buddy_manager.h55 u64 default_page_size, u64 chunk_size);
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.h37 u64 default_page_size; member
Damdgpu_vram_mgr.c488 min_block_size = mgr->default_page_size; in amdgpu_vram_mgr_new()
849 mgr->default_page_size >> 10); in amdgpu_vram_mgr_debug()
895 mgr->default_page_size = PAGE_SIZE; in amdgpu_vram_mgr_init()