Home
last modified time | relevance | path

Searched refs:SAVAGE_DMA_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/savage/
Dsavage_bci.c309 (SAVAGE_DMA_PAGE_SIZE * 4); in savage_dma_init()
375 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - in savage_dma_alloc()
377 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / in savage_dma_alloc()
378 SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
387 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_alloc()
396 (n + SAVAGE_DMA_PAGE_SIZE - 1) / SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
412 if (n > SAVAGE_DMA_PAGE_SIZE) in savage_dma_alloc()
413 dev_priv->dma_pages[i].used = SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
416 n -= SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
454 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_flush()
[all …]
Dsavage_drv.h74 #define SAVAGE_DMA_PAGE_SIZE 1024 /* in dwords */ macro
78 #define SAVAGE_FAKE_DMA_SIZE (SAVAGE_DMA_PAGE_SIZE*4*4)
519 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \
525 cur * SAVAGE_DMA_PAGE_SIZE + \
544 cur * SAVAGE_DMA_PAGE_SIZE + \