Home
last modified time | relevance | path

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

/drivers/gpu/drm/ttm/
Dttm_tt.c179 if (!(ttm->page_flags & TTM_PAGE_FLAG_PERSISTENT_SWAP) && in ttm_tt_destroy()
188 unsigned long size, uint32_t page_flags, in ttm_tt_init() argument
195 ttm->page_flags = page_flags; in ttm_tt_init()
218 unsigned long size, uint32_t page_flags, in ttm_dma_tt_init() argument
227 ttm->page_flags = page_flags; in ttm_dma_tt_init()
317 if (!(ttm->page_flags & TTM_PAGE_FLAG_PERSISTENT_SWAP)) in ttm_tt_swapin()
320 ttm->page_flags &= ~TTM_PAGE_FLAG_SWAPPED; in ttm_tt_swapin()
369 ttm->page_flags |= TTM_PAGE_FLAG_SWAPPED; in ttm_tt_swapout()
371 ttm->page_flags |= TTM_PAGE_FLAG_PERSISTENT_SWAP; in ttm_tt_swapout()
386 if (ttm->page_flags & TTM_PAGE_FLAG_SG) in ttm_tt_clear_mapping()
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.c886 type = ttm_to_type(ttm->page_flags, ttm->caching_state); in ttm_dma_populate()
887 if (ttm->page_flags & TTM_PAGE_FLAG_DMA32) in ttm_dma_populate()
891 if (ttm->page_flags & TTM_PAGE_FLAG_ZERO_ALLOC) in ttm_dma_populate()
918 if (unlikely(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)) { in ttm_dma_populate()
942 type = ttm_to_type(ttm->page_flags, ttm->caching_state); in ttm_dma_unpopulate()
948 ttm_to_type(ttm->page_flags, tt_cached)) == pool); in ttm_dma_unpopulate()
Dttm_page_alloc.c875 ttm->page_flags, in ttm_pool_populate()
890 if (unlikely(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)) { in ttm_pool_populate()
912 ttm->page_flags, in ttm_pool_unpopulate()
Dttm_bo.c239 uint32_t page_flags = 0; in ttm_bo_add_ttm() local
245 page_flags |= TTM_PAGE_FLAG_DMA32; in ttm_bo_add_ttm()
250 page_flags |= TTM_PAGE_FLAG_ZERO_ALLOC; in ttm_bo_add_ttm()
253 page_flags, glob->dummy_read_page); in ttm_bo_add_ttm()
259 page_flags | TTM_PAGE_FLAG_SG, in ttm_bo_add_ttm()
Dttm_bo_vm.c141 if (bo->ttm && (bo->ttm->page_flags & TTM_PAGE_FLAG_SG)) { in ttm_bo_vm_fault()
Dttm_bo_util.c358 !(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)))) { in ttm_bo_move_memcpy()
/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c94 unsigned long size, uint32_t page_flags, in nouveau_sgdma_create_ttm() argument
110 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.c471 uint32_t page_flags, struct page *dummy_read) in nouveau_ttm_tt_create() argument
479 page_flags, dummy_read); in nouveau_ttm_tt_create()
483 return nouveau_sgdma_create_ttm(bdev, size, page_flags, dummy_read); in nouveau_ttm_tt_create()
1361 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in nouveau_ttm_tt_populate()
1426 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in nouveau_ttm_tt_unpopulate()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c655 unsigned long size, uint32_t page_flags, in radeon_ttm_tt_create() argument
665 size, page_flags, dummy_read_page); in radeon_ttm_tt_create()
675 if (ttm_dma_tt_init(&gtt->ttm, bdev, size, page_flags, dummy_read_page)) { in radeon_ttm_tt_create()
695 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in radeon_ttm_tt_populate()
705 ttm->page_flags |= TTM_PAGE_FLAG_SG; in radeon_ttm_tt_populate()
757 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in radeon_ttm_tt_unpopulate()
761 ttm->page_flags &= ~TTM_PAGE_FLAG_SG; in radeon_ttm_tt_unpopulate()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c680 unsigned long size, uint32_t page_flags, in vmw_ttm_tt_create() argument
695 ret = ttm_dma_tt_init(&vmw_be->dma_ttm, bdev, size, page_flags, in vmw_ttm_tt_create()
698 ret = ttm_tt_init(&vmw_be->dma_ttm.ttm, bdev, size, page_flags, in vmw_ttm_tt_create()
/drivers/gpu/drm/ast/
Dast_ttm.c212 unsigned long size, uint32_t page_flags, in ast_ttm_tt_create() argument
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in ast_ttm_tt_create()
/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c212 unsigned long size, uint32_t page_flags, in cirrus_ttm_tt_create() argument
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in cirrus_ttm_tt_create()
/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c212 unsigned long size, uint32_t page_flags, in mgag200_ttm_tt_create() argument
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in mgag200_ttm_tt_create()
/drivers/gpu/drm/qxl/
Dqxl_ttm.c317 unsigned long size, uint32_t page_flags, in qxl_ttm_tt_create() argument
329 if (ttm_dma_tt_init(&gtt->ttm, bdev, size, page_flags, in qxl_ttm_tt_create()
/drivers/gpu/drm/bochs/
Dbochs_mm.c189 uint32_t page_flags, in bochs_ttm_tt_create() argument
198 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { in bochs_ttm_tt_create()