Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_validate_test.c764 struct ttm_buffer_object *bo_small, *bo_big; in ttm_bo_validate_swapout() local
792 bo_big = ttm_bo_kunit_init(test, priv, size_big, NULL); in ttm_bo_validate_swapout()
794 dma_resv_lock(bo_big->base.resv, NULL); in ttm_bo_validate_swapout()
795 err = ttm_bo_validate(bo_big, placement, &ctx); in ttm_bo_validate_swapout()
796 dma_resv_unlock(bo_big->base.resv); in ttm_bo_validate_swapout()
799 KUNIT_EXPECT_NOT_NULL(test, bo_big->resource); in ttm_bo_validate_swapout()
800 KUNIT_EXPECT_EQ(test, bo_big->resource->mem_type, mem_type); in ttm_bo_validate_swapout()
804 ttm_bo_put(bo_big); in ttm_bo_validate_swapout()
870 struct ttm_buffer_object *bo_big, *bo_small; in ttm_bo_validate_all_pinned_evict() local
883 bo_big = kunit_kzalloc(test, sizeof(*bo_big), GFP_KERNEL); in ttm_bo_validate_all_pinned_evict()
[all …]