Home
last modified time | relevance | path

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

/openbmc/linux/include/drm/ttm/
H A Dttm_pool.h36 struct ttm_pool;
50 struct ttm_pool *pool;
69 struct ttm_pool { struct
81 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, argument
83 void ttm_pool_free(struct ttm_pool *pool, struct ttm_tt *tt);
85 void ttm_pool_init(struct ttm_pool *pool, struct device *dev,
87 void ttm_pool_fini(struct ttm_pool *pool);
89 int ttm_pool_debugfs(struct ttm_pool *pool, struct seq_file *m);
H A Dttm_device.h247 struct ttm_pool pool;
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c79 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page()
185 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
212 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap()
286 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type()
355 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated()
389 static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_free_range()
425 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc()
540 void ttm_pool_free(struct ttm_pool *pool, struct ttm_tt *tt) in ttm_pool_free()
560 void ttm_pool_init(struct ttm_pool *pool, struct device *dev, in ttm_pool_init()
595 void ttm_pool_fini(struct ttm_pool *pool) in ttm_pool_fini()
[all …]
H A DMakefile6 ttm_execbuf_util.o ttm_range_manager.o ttm_resource.o ttm_pool.o \
/openbmc/linux/drivers/gpu/drm/ttm/tests/
H A 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()
141 struct ttm_pool *pool; in ttm_pool_alloc_basic()
202 struct ttm_pool *pool; in ttm_pool_alloc_basic_dma_addr()
242 struct ttm_pool *pool; in ttm_pool_alloc_order_caching_match()
270 struct ttm_pool *pool; in ttm_pool_alloc_caching_mismatch()
304 struct ttm_pool *pool; in ttm_pool_alloc_order_mismatch()
340 struct ttm_pool *pool; in ttm_pool_free_dma_alloc()
371 struct ttm_pool *pool; in ttm_pool_free_no_dma_alloc()
399 struct ttm_pool *pool; in ttm_pool_fini_basic()
H A Dttm_device_test.c158 struct ttm_pool *pool; in ttm_device_init_pools()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.h56 struct ttm_pool *ttm_pools;
H A Damdgpu_ttm.c1126 struct ttm_pool *pool; in amdgpu_ttm_tt_populate()
1166 struct ttm_pool *pool; in amdgpu_ttm_tt_unpopulate()
/openbmc/linux/Documentation/gpu/
H A Ddrm-mm.rst73 .. kernel-doc:: include/drm/ttm/ttm_pool.h
76 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_pool.c