Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/gpu/drm/savage/
Dsavage_bci.c300 (SAVAGE_DMA_PAGE_SIZE * 4); in savage_dma_init()
365 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - in savage_dma_alloc()
367 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / in savage_dma_alloc()
368 SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
377 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_alloc()
386 (n + SAVAGE_DMA_PAGE_SIZE - 1) / SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
402 if (n > SAVAGE_DMA_PAGE_SIZE) in savage_dma_alloc()
403 dev_priv->dma_pages[i].used = SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
406 n -= SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
444 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_flush()
[all …]
Dsavage_drv.h68 #define SAVAGE_DMA_PAGE_SIZE 1024 /* in dwords */ macro
72 #define SAVAGE_FAKE_DMA_SIZE (SAVAGE_DMA_PAGE_SIZE*4*4)
514 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \
520 cur * SAVAGE_DMA_PAGE_SIZE + \
539 cur * SAVAGE_DMA_PAGE_SIZE + \