Home
last modified time | relevance | path

Searched refs:ttm_pool (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/include/drm/ttm/
Dttm_pool.h37 struct ttm_pool;
51 struct ttm_pool *pool;
70 struct ttm_pool { struct
82 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, argument
84 void ttm_pool_free(struct ttm_pool *pool, struct ttm_tt *tt);
86 void ttm_pool_init(struct ttm_pool *pool, struct device *dev,
88 void ttm_pool_fini(struct ttm_pool *pool);
90 int ttm_pool_debugfs(struct ttm_pool *pool, struct seq_file *m);
Dttm_device.h247 struct ttm_pool pool;
/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_pool.c80 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page()
133 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page()
186 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
213 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap()
259 static void ttm_pool_type_init(struct ttm_pool_type *pt, struct ttm_pool *pool, in ttm_pool_type_init()
287 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type()
346 static unsigned int ttm_pool_page_order(struct ttm_pool *pool, struct page *p) in ttm_pool_page_order()
358 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated()
392 static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_free_range()
428 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc()
[all …]
DMakefile6 ttm_execbuf_util.o ttm_range_manager.o ttm_resource.o ttm_pool.o \
/linux-6.12.1/drivers/gpu/drm/ttm/tests/
Dttm_pool_test.c73 static struct ttm_pool *ttm_pool_pre_populated(struct kunit *test, in ttm_pool_pre_populated()
79 struct ttm_pool *pool; in ttm_pool_pre_populated()
140 struct ttm_pool *pool; in ttm_pool_alloc_basic()
201 struct ttm_pool *pool; in ttm_pool_alloc_basic_dma_addr()
241 struct ttm_pool *pool; in ttm_pool_alloc_order_caching_match()
269 struct ttm_pool *pool; in ttm_pool_alloc_caching_mismatch()
303 struct ttm_pool *pool; in ttm_pool_alloc_order_mismatch()
339 struct ttm_pool *pool; in ttm_pool_free_dma_alloc()
370 struct ttm_pool *pool; in ttm_pool_free_no_dma_alloc()
398 struct ttm_pool *pool; in ttm_pool_fini_basic()
Dttm_device_test.c158 struct ttm_pool *pool; in ttm_device_init_pools()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.h54 struct ttm_pool *ttm_pools;
Damdgpu_ttm.c1139 struct ttm_pool *pool; in amdgpu_ttm_tt_populate()
1179 struct ttm_pool *pool; in amdgpu_ttm_tt_unpopulate()
/linux-6.12.1/Documentation/gpu/
Ddrm-mm.rst73 .. kernel-doc:: include/drm/ttm/ttm_pool.h
76 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_pool.c