Lines Matching full:skip
291 unsigned int skip = cmd_header->prim.skip; in savage_dispatch_dma_prim() local
332 if (skip != 0) { in savage_dispatch_dma_prim()
333 DRM_ERROR("invalid skip flags 0x%04x for DMA\n", skip); in savage_dispatch_dma_prim()
337 unsigned int size = 10 - (skip & 1) - (skip >> 1 & 1) - in savage_dispatch_dma_prim()
338 (skip >> 2 & 1) - (skip >> 3 & 1) - (skip >> 4 & 1) - in savage_dispatch_dma_prim()
339 (skip >> 5 & 1) - (skip >> 6 & 1) - (skip >> 7 & 1); in savage_dispatch_dma_prim()
340 if (skip > SAVAGE_SKIP_ALL_S4 || size != 8) { in savage_dispatch_dma_prim()
341 DRM_ERROR("invalid skip flags 0x%04x for DMA\n", skip); in savage_dispatch_dma_prim()
409 BCI_DRAW_INDICES_S4(count, prim, skip); in savage_dispatch_dma_prim()
433 unsigned int skip = cmd_header->prim.skip; in savage_dispatch_vb_prim() local
470 if (skip > SAVAGE_SKIP_ALL_S3D) { in savage_dispatch_vb_prim()
471 DRM_ERROR("invalid skip flags 0x%04x\n", skip); in savage_dispatch_vb_prim()
476 if (skip > SAVAGE_SKIP_ALL_S4) { in savage_dispatch_vb_prim()
477 DRM_ERROR("invalid skip flags 0x%04x\n", skip); in savage_dispatch_vb_prim()
483 vtx_size -= (skip & 1) + (skip >> 1 & 1) + in savage_dispatch_vb_prim()
484 (skip >> 2 & 1) + (skip >> 3 & 1) + (skip >> 4 & 1) + in savage_dispatch_vb_prim()
485 (skip >> 5 & 1) + (skip >> 6 & 1) + (skip >> 7 & 1); in savage_dispatch_vb_prim()
511 DMA_DRAW_PRIMITIVE(count, prim, skip); in savage_dispatch_vb_prim()
521 DMA_DRAW_PRIMITIVE(count, prim, skip); in savage_dispatch_vb_prim()
552 unsigned int skip = cmd_header->idx.skip; in savage_dispatch_dma_idx() local
590 if (skip != 0) { in savage_dispatch_dma_idx()
591 DRM_ERROR("invalid skip flags 0x%04x for DMA\n", skip); in savage_dispatch_dma_idx()
595 unsigned int size = 10 - (skip & 1) - (skip >> 1 & 1) - in savage_dispatch_dma_idx()
596 (skip >> 2 & 1) - (skip >> 3 & 1) - (skip >> 4 & 1) - in savage_dispatch_dma_idx()
597 (skip >> 5 & 1) - (skip >> 6 & 1) - (skip >> 7 & 1); in savage_dispatch_dma_idx()
598 if (skip > SAVAGE_SKIP_ALL_S4 || size != 8) { in savage_dispatch_dma_idx()
599 DRM_ERROR("invalid skip flags 0x%04x for DMA\n", skip); in savage_dispatch_dma_idx()
670 BCI_DRAW_INDICES_S4(count, prim, skip); in savage_dispatch_dma_idx()
695 unsigned int skip = cmd_header->idx.skip; in savage_dispatch_vb_idx() local
729 if (skip > SAVAGE_SKIP_ALL_S3D) { in savage_dispatch_vb_idx()
730 DRM_ERROR("invalid skip flags 0x%04x\n", skip); in savage_dispatch_vb_idx()
735 if (skip > SAVAGE_SKIP_ALL_S4) { in savage_dispatch_vb_idx()
736 DRM_ERROR("invalid skip flags 0x%04x\n", skip); in savage_dispatch_vb_idx()
742 vtx_size -= (skip & 1) + (skip >> 1 & 1) + in savage_dispatch_vb_idx()
743 (skip >> 2 & 1) + (skip >> 3 & 1) + (skip >> 4 & 1) + in savage_dispatch_vb_idx()
744 (skip >> 5 & 1) + (skip >> 6 & 1) + (skip >> 7 & 1); in savage_dispatch_vb_idx()
773 DMA_DRAW_PRIMITIVE(count, prim, skip); in savage_dispatch_vb_idx()
783 DMA_DRAW_PRIMITIVE(count, prim, skip); in savage_dispatch_vb_idx()