Home
last modified time | relevance | path

Searched refs:use_dma_alloc (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_device_test.c13 bool use_dma_alloc; member
122 .use_dma_alloc = false,
128 .use_dma_alloc = true,
134 .use_dma_alloc = false,
140 .use_dma_alloc = true,
166 params->use_dma_alloc, in ttm_device_init_pools()
173 KUNIT_EXPECT_EQ(test, pool->use_dma_alloc, params->use_dma_alloc); in ttm_device_init_pools()
184 if (params->use_dma_alloc) in ttm_device_init_pools()
H A Dttm_kunit_helpers.c117 bool use_dma_alloc, in ttm_device_kunit_init_with_funcs() argument
127 use_dma_alloc, use_dma32); in ttm_device_kunit_init_with_funcs()
143 bool use_dma_alloc, in ttm_device_kunit_init() argument
146 return ttm_device_kunit_init_with_funcs(priv, ttm, use_dma_alloc, in ttm_device_kunit_init()
162 bool use_dma_alloc, in ttm_device_kunit_init_bad_evict() argument
165 return ttm_device_kunit_init_with_funcs(priv, ttm, use_dma_alloc, in ttm_device_kunit_init_bad_evict()
H A Dttm_pool_test.c15 bool use_dma_alloc; member
116 .use_dma_alloc = true,
121 .use_dma_alloc = true,
153 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, params->use_dma_alloc, in ttm_pool_alloc_basic()
158 KUNIT_ASSERT_EQ(test, pool->use_dma_alloc, params->use_dma_alloc); in ttm_pool_alloc_basic()
168 if (params->use_dma_alloc) { in ttm_pool_alloc_basic()
175 if (params->use_dma_alloc) { in ttm_pool_alloc_basic()
H A Dttm_kunit_helpers.h31 bool use_dma_alloc,
35 bool use_dma_alloc,
/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c96 if (!pool->use_dma_alloc) { in ttm_pool_alloc_page()
148 if (!pool || !pool->use_dma_alloc) { in ttm_pool_free_page()
192 if (pool->use_dma_alloc) { in ttm_pool_map()
217 if (pool->use_dma_alloc) in ttm_pool_unmap()
291 if (pool->use_dma_alloc) in ttm_pool_select_type()
348 if (pool->use_dma_alloc) { in ttm_pool_page_order()
564 int nid, bool use_dma_alloc, bool use_dma32) in ttm_pool_init() argument
568 WARN_ON(!dev && use_dma_alloc); in ttm_pool_init()
572 pool->use_dma_alloc = use_dma_alloc; in ttm_pool_init()
734 if (!pool->use_dma_alloc) { in ttm_pool_debugfs()
H A Dttm_device.c187 bool use_dma_alloc, bool use_dma32) in ttm_device_init() argument
215 ttm_pool_init(&bdev->pool, dev, nid, use_dma_alloc, use_dma32); in ttm_device_init()
/linux/include/drm/ttm/
H A Dttm_pool.h74 bool use_dma_alloc; member
87 int nid, bool use_dma_alloc, bool use_dma32);