Home
last modified time | relevance | path

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

/drivers/gpu/drm/ttm/
Dttm_page_alloc.c443 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument
449 r = ttm_set_pages_array_uc(pages, cpages); in ttm_set_pages_caching()
451 pr_err("Failed to set %d pages to uc!\n", cpages); in ttm_set_pages_caching()
454 r = ttm_set_pages_array_wc(pages, cpages); in ttm_set_pages_caching()
456 pr_err("Failed to set %d pages to wc!\n", cpages); in ttm_set_pages_caching()
471 struct page **failed_pages, unsigned cpages) in ttm_handle_caching_state_failure() argument
475 for (i = 0; i < cpages; ++i) { in ttm_handle_caching_state_failure()
494 unsigned i, j, cpages; in ttm_alloc_new_pages() local
507 for (i = 0, cpages = 0; i < count; ++i) { in ttm_alloc_new_pages()
515 if (cpages) { in ttm_alloc_new_pages()
[all …]
Dttm_page_alloc_dma.c266 struct page **pages, unsigned cpages) in ttm_set_pages_caching() argument
271 r = ttm_set_pages_array_uc(pages, cpages); in ttm_set_pages_caching()
274 pool->dev_name, cpages); in ttm_set_pages_caching()
277 r = ttm_set_pages_array_wc(pages, cpages); in ttm_set_pages_caching()
280 pool->dev_name, cpages); in ttm_set_pages_caching()
668 unsigned cpages) in ttm_dma_handle_caching_state_failure() argument
684 if (++i < cpages) in ttm_dma_handle_caching_state_failure()
706 unsigned i, j, npages, cpages; in ttm_dma_pool_alloc_new_pages() local
724 for (i = 0, cpages = 0; i < count; ++i) { in ttm_dma_pool_alloc_new_pages()
732 if (cpages) { in ttm_dma_pool_alloc_new_pages()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c205 if (!args.cpages) in nouveau_dmem_migrate_to_ram()
691 if (args.cpages) in nouveau_dmem_migrate_vma()