Searched refs:cpages (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 449 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument 455 r = set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 457 pr_err("Failed to set %d pages to uc!\n", cpages); in ttm_set_pages_caching() 460 r = set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 462 pr_err("Failed to set %d pages to wc!\n", cpages); in ttm_set_pages_caching() 477 struct page **failed_pages, unsigned cpages) in ttm_handle_caching_state_failure() argument 481 for (i = 0; i < cpages; ++i) { in ttm_handle_caching_state_failure() 499 unsigned i, cpages; in ttm_alloc_new_pages() local 511 for (i = 0, cpages = 0; i < count; ++i) { in ttm_alloc_new_pages() 519 if (cpages) { in ttm_alloc_new_pages() [all …]
|
D | ttm_page_alloc_dma.c | 307 struct page **pages, unsigned cpages) in ttm_set_pages_caching() argument 312 r = set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 315 pool->dev_name, cpages); in ttm_set_pages_caching() 318 r = set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 321 pool->dev_name, cpages); in ttm_set_pages_caching() 683 unsigned cpages) in ttm_dma_handle_caching_state_failure() argument 699 if (++i < cpages) in ttm_dma_handle_caching_state_failure() 721 unsigned i, cpages; in ttm_dma_pool_alloc_new_pages() local 739 for (i = 0, cpages = 0; i < count; ++i) { in ttm_dma_pool_alloc_new_pages() 747 if (cpages) { in ttm_dma_pool_alloc_new_pages() [all …]
|