Searched refs:snd_mem (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_bo_validate_test.c | 230 u32 fst_mem = TTM_PL_SYSTEM, snd_mem = TTM_PL_VRAM; in ttm_bo_validate_basic() local 239 ttm_mock_manager_init(priv->ttm_dev, snd_mem, MANAGER_SIZE); in ttm_bo_validate_basic() 254 snd_place = ttm_place_kunit_init(test, snd_mem, DRM_BUDDY_TOPDOWN_ALLOCATION); in ttm_bo_validate_basic() 264 KUNIT_EXPECT_EQ(test, bo->resource->mem_type, snd_mem); in ttm_bo_validate_basic() 269 ttm_mock_manager_fini(priv->ttm_dev, snd_mem); in ttm_bo_validate_basic() 414 u32 fst_mem = TTM_PL_VRAM, snd_mem = TTM_PL_VRAM + 1; in ttm_bo_validate_busy_placement() local 426 ttm_mock_manager_init(priv->ttm_dev, snd_mem, MANAGER_SIZE); in ttm_bo_validate_busy_placement() 442 places[1] = (struct ttm_place){ .mem_type = snd_mem, .flags = TTM_PL_FLAG_FALLBACK }; in ttm_bo_validate_busy_placement() 448 man = ttm_manager_type(priv->ttm_dev, snd_mem); in ttm_bo_validate_busy_placement() 452 KUNIT_EXPECT_EQ(test, bo->resource->mem_type, snd_mem); in ttm_bo_validate_busy_placement() [all …]
|