Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/gpu/drm/i915/
Di915_ttm_buddy_manager.c25 u64 default_page_size; member
71 min_page_size = bman->default_page_size; in i915_ttm_buddy_man_alloc()
231 bman->default_page_size >> 10); in i915_ttm_buddy_man_debug()
285 u64 size, u64 visible_size, u64 default_page_size, in i915_ttm_buddy_man_init() argument
302 GEM_BUG_ON(default_page_size < chunk_size); in i915_ttm_buddy_man_init()
303 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-6.12.1/drivers/gpu/drm/xe/
Dxe_ttm_vram_mgr.c92 min_page_size = mgr->default_page_size; in xe_ttm_vram_mgr_new()
234 mgr->default_page_size >> 10); in xe_ttm_vram_mgr_debug()
337 u64 default_page_size) in __xe_ttm_vram_mgr_init() argument
345 mgr->default_page_size = default_page_size; in __xe_ttm_vram_mgr_init()
350 err = drm_buddy_init(&mgr->mm, man->size, default_page_size); in __xe_ttm_vram_mgr_init()
Dxe_ttm_vram_mgr_types.h31 u64 default_page_size; member
Dxe_ttm_vram_mgr.h17 u64 default_page_size);
/linux-6.12.1/drivers/gpu/drm/ttm/tests/
Dttm_mock_manager.h13 u64 default_page_size; member
Dttm_mock_manager.c54 manager->default_page_size, in ttm_mock_manager_alloc()
112 manager->default_page_size = PAGE_SIZE; in ttm_mock_manager_init()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.h37 u64 default_page_size; member
Damdgpu_vram_mgr.c534 min_block_size = mgr->default_page_size; in amdgpu_vram_mgr_new()
871 mgr->default_page_size >> 10); in amdgpu_vram_mgr_debug()
917 mgr->default_page_size = PAGE_SIZE; in amdgpu_vram_mgr_init()