Searched refs:ttm_dma (Results 1 – 2 of 2) sorted by relevance
554 struct ttm_tt *ttm_dma = (struct ttm_tt *)nvbo->bo.ttm; in nouveau_bo_sync_for_device() local557 if (!ttm_dma || !ttm_dma->dma_address) in nouveau_bo_sync_for_device()559 if (!ttm_dma->pages) { in nouveau_bo_sync_for_device()560 NV_DEBUG(drm, "ttm_dma 0x%p: pages NULL\n", ttm_dma); in nouveau_bo_sync_for_device()569 while (i < ttm_dma->num_pages) { in nouveau_bo_sync_for_device()570 struct page *p = ttm_dma->pages[i]; in nouveau_bo_sync_for_device()573 for (j = i + 1; j < ttm_dma->num_pages; ++j) { in nouveau_bo_sync_for_device()574 if (++p != ttm_dma->pages[j]) in nouveau_bo_sync_for_device()580 ttm_dma->dma_address[i], in nouveau_bo_sync_for_device()590 struct ttm_tt *ttm_dma = (struct ttm_tt *)nvbo->bo.ttm; in nouveau_bo_sync_for_cpu() local[all …]
153 int ttm_sg_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo,