Searched refs:ib_max (Results 1 – 8 of 8) sorted by relevance
55 nouveau_exec_push_max_from_ib_max(int ib_max) in nouveau_exec_push_max_from_ib_max() argument61 return ib_max > 1 ? ib_max / 2 - 1 : 0; in nouveau_exec_push_max_from_ib_max()
86 chan->dma.ib_put = (chan->dma.ib_put + 1) & chan->dma.ib_max; in nv50_dma_push()118 chan->dma.ib_free += chan->dma.ib_max; in nv50_dma_push_wait()173 if (chan->dma.ib_max) in nouveau_dma_wait()
47 int ib_max; member
97 if (chan->dma.ib_max) { in FIRE_RING()
404 if (!chan->dma.ib_max) in nouveau_exec_ioctl_exec()407 push_max = nouveau_exec_push_max_from_ib_max(chan->dma.ib_max); in nouveau_exec_ioctl_exec()
266 int ib_max = getparam_dma_ib_max(device); in nouveau_abi16_ioctl_getparam() local268 getparam->value = nouveau_exec_push_max_from_ib_max(ib_max); in nouveau_abi16_ioctl_getparam()
457 chan->dma.ib_max = NV50_DMA_IB_MAX; in nouveau_channel_init()459 chan->dma.ib_free = chan->dma.ib_max - chan->dma.ib_put; in nouveau_channel_init()
849 if (chan->dma.ib_max) { in nouveau_gem_ioctl_pushbuf()957 if (chan->dma.ib_max) { in nouveau_gem_ioctl_pushbuf()