/drivers/gpu/drm/ttm/ |
D | ttm_tt.c | 177 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()
|
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 | 876 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()
|
D | ttm_page_alloc.c | 854 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()
|
D | ttm_bo.c | 385 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/ |
D | nouveau_sgdma.c | 91 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()
|
D | nouveau_ttm.h | 15 unsigned long size, u32 page_flags,
|
D | nouveau_bo.c | 458 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/ |
D | radeon_ttm.c | 554 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(>t->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/ |
D | vmwgfx_buffer.c | 182 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/ |
D | ast_ttm.c | 210 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/ |
D | mgag200_ttm.c | 210 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/ |
D | cirrus_ttm.c | 210 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/ |
D | qxl_ttm.c | 319 unsigned long size, uint32_t page_flags, in qxl_ttm_tt_create() argument 331 if (ttm_dma_tt_init(>t->ttm, bdev, size, page_flags, in qxl_ttm_tt_create()
|