Searched refs:use_dma_alloc (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_device_test.c | 13 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 D | ttm_kunit_helpers.c | 117 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 D | ttm_pool_test.c | 15 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 D | ttm_kunit_helpers.h | 31 bool use_dma_alloc, 35 bool use_dma_alloc,
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_pool.c | 96 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 D | ttm_device.c | 187 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()
|
H A D | ttm_tt.c | 94 if (bdev->pool.use_dma_alloc && cc_platform_has(CC_ATTR_GUEST_MEM_ENCRYPT)) { in ttm_tt_create()
|
/linux/include/drm/ttm/ |
H A D | ttm_pool.h | 74 bool use_dma_alloc; member 87 int nid, bool use_dma_alloc, bool use_dma32);
|
H A D | ttm_device.h | 293 bool use_dma_alloc, bool use_dma32);
|