/drivers/gpu/drm/ttm/ |
D | ttm_tt.c | 179 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()
|
D | ttm_agp_backend.c | 115 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()
|
D | ttm_page_alloc_dma.c | 886 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()
|
D | ttm_page_alloc.c | 875 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()
|
D | ttm_bo.c | 239 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()
|
D | ttm_bo_vm.c | 141 if (bo->ttm && (bo->ttm->page_flags & TTM_PAGE_FLAG_SG)) { in ttm_bo_vm_fault()
|
D | ttm_bo_util.c | 358 !(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)))) { in ttm_bo_move_memcpy()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_sgdma.c | 94 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()
|
D | nouveau_ttm.h | 15 unsigned long size, u32 page_flags,
|
D | nouveau_bo.c | 471 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/ |
D | radeon_ttm.c | 655 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(>t->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/ |
D | vmwgfx_buffer.c | 680 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/ |
D | ast_ttm.c | 212 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/ |
D | cirrus_ttm.c | 212 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/ |
D | mgag200_ttm.c | 212 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/ |
D | qxl_ttm.c | 317 unsigned long size, uint32_t page_flags, in qxl_ttm_tt_create() argument 329 if (ttm_dma_tt_init(>t->ttm, bdev, size, page_flags, in qxl_ttm_tt_create()
|
/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 189 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()
|