Home
last modified time | relevance | path

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

/drivers/gpu/drm/ttm/
Dttm_tt.c177 if (!(ttm->page_flags & TTM_PAGE_FLAG_PERSISTENT_SWAP) && in ttm_tt_destroy()
186 unsigned long size, uint32_t page_flags, in ttm_tt_init() argument
193 ttm->page_flags = page_flags; in ttm_tt_init()
216 unsigned long size, uint32_t page_flags, in ttm_dma_tt_init() argument
225 ttm->page_flags = page_flags; in ttm_dma_tt_init()
315 if (!(ttm->page_flags & TTM_PAGE_FLAG_PERSISTENT_SWAP)) in ttm_tt_swapin()
318 ttm->page_flags &= ~TTM_PAGE_FLAG_SWAPPED; in ttm_tt_swapin()
367 ttm->page_flags |= TTM_PAGE_FLAG_SWAPPED; in ttm_tt_swapout()
369 ttm->page_flags |= TTM_PAGE_FLAG_PERSISTENT_SWAP; in ttm_tt_swapout()
Dttm_agp_backend.c115 unsigned long size, uint32_t page_flags, in ttm_agp_tt_create() argument
128 if (ttm_tt_init(&agp_be->ttm, bdev, size, page_flags, dummy_read_page)) { in ttm_agp_tt_create()
Dttm_page_alloc_dma.c876 type = ttm_to_type(ttm->page_flags, ttm->caching_state); in ttm_dma_populate()
877 if (ttm->page_flags & TTM_PAGE_FLAG_DMA32) in ttm_dma_populate()
881 if (ttm->page_flags & TTM_PAGE_FLAG_ZERO_ALLOC) in ttm_dma_populate()
908 if (unlikely(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)) { in ttm_dma_populate()
945 type = ttm_to_type(ttm->page_flags, ttm->caching_state); in ttm_dma_unpopulate()
951 ttm_to_type(ttm->page_flags, tt_cached)) == pool); in ttm_dma_unpopulate()
Dttm_page_alloc.c854 ttm->page_flags, in ttm_pool_populate()
869 if (unlikely(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)) { in ttm_pool_populate()
891 ttm->page_flags, in ttm_pool_unpopulate()
Dttm_bo.c385 uint32_t page_flags = 0; in ttm_bo_add_ttm() local
391 page_flags |= TTM_PAGE_FLAG_DMA32; in ttm_bo_add_ttm()
396 page_flags |= TTM_PAGE_FLAG_ZERO_ALLOC; in ttm_bo_add_ttm()
399 page_flags, glob->dummy_read_page); in ttm_bo_add_ttm()
405 page_flags | TTM_PAGE_FLAG_SG, in ttm_bo_add_ttm()
/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c91 unsigned long size, uint32_t page_flags, in nouveau_sgdma_create_ttm() argument
107 if (ttm_dma_tt_init(&nvbe->ttm, bdev, size, page_flags, dummy_read_page)) { in nouveau_sgdma_create_ttm()
Dnouveau_ttm.h15 unsigned long size, u32 page_flags,
Dnouveau_bo.c458 uint32_t page_flags, struct page *dummy_read) in nouveau_ttm_tt_create() argument
466 page_flags, dummy_read); in nouveau_ttm_tt_create()
470 return nouveau_sgdma_create_ttm(bdev, size, page_flags, dummy_read); in nouveau_ttm_tt_create()
1355 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in nouveau_ttm_tt_populate()
1412 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in nouveau_ttm_tt_unpopulate()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c554 unsigned long size, uint32_t page_flags, in radeon_ttm_tt_create() argument
564 size, page_flags, dummy_read_page); in radeon_ttm_tt_create()
574 if (ttm_dma_tt_init(&gtt->ttm, bdev, size, page_flags, dummy_read_page)) { in radeon_ttm_tt_create()
587 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in radeon_ttm_tt_populate()
639 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in radeon_ttm_tt_unpopulate()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c182 unsigned long size, uint32_t page_flags, in vmw_ttm_tt_create() argument
194 if (ttm_tt_init(&vmw_be->ttm, bdev, size, page_flags, dummy_read_page)) { in vmw_ttm_tt_create()
/drivers/gpu/drm/ast/
Dast_ttm.c210 unsigned long size, uint32_t page_flags, in ast_ttm_tt_create() argument
219 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in ast_ttm_tt_create()
/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c210 unsigned long size, uint32_t page_flags, in mgag200_ttm_tt_create() argument
219 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in mgag200_ttm_tt_create()
/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c210 unsigned long size, uint32_t page_flags, in cirrus_ttm_tt_create() argument
219 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in cirrus_ttm_tt_create()
/drivers/gpu/drm/qxl/
Dqxl_ttm.c319 unsigned long size, uint32_t page_flags, in qxl_ttm_tt_create() argument
331 if (ttm_dma_tt_init(&gtt->ttm, bdev, size, page_flags, in qxl_ttm_tt_create()