Home
last modified time | relevance | path

Searched refs:nbox (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/mga/
Dmga_state.c423 if (sarea_priv->nbox > MGA_NR_SAREA_CLIPRECTS) in mga_verify_state()
424 sarea_priv->nbox = MGA_NR_SAREA_CLIPRECTS; in mga_verify_state()
486 int nbox = sarea_priv->nbox; in mga_dma_dispatch_clear() local
499 for (i = 0; i < nbox; i++) { in mga_dma_dispatch_clear()
574 int nbox = sarea_priv->nbox; in mga_dma_dispatch_swap() local
582 BEGIN_DMA(4 + nbox); in mga_dma_dispatch_swap()
597 for (i = 0; i < nbox; i++) { in mga_dma_dispatch_swap()
639 if (i < sarea_priv->nbox) { in mga_dma_dispatch_vertex()
654 } while (++i < sarea_priv->nbox); in mga_dma_dispatch_vertex()
686 if (i < sarea_priv->nbox) { in mga_dma_dispatch_indices()
[all …]
/linux-6.1.9/drivers/gpu/drm/savage/
Dsavage_state.c805 unsigned int nbox, in savage_dispatch_clear() argument
813 if (nbox == 0) in savage_dispatch_clear()
832 for (i = 0; i < nbox; ++i) { in savage_dispatch_clear()
875 unsigned int nbox, const struct drm_clip_rect *boxes) in savage_dispatch_swap() argument
881 if (nbox == 0) in savage_dispatch_swap()
888 for (i = 0; i < nbox; ++i) { in savage_dispatch_swap()
909 unsigned int nbox, in savage_dispatch_draw() argument
915 for (i = 0; i < nbox; ++i) { in savage_dispatch_draw()
1023 if (cmdbuf->nbox) { in savage_bci_cmdbuf()
1024 kbox_addr = kmalloc_array(cmdbuf->nbox, sizeof(struct drm_clip_rect), in savage_bci_cmdbuf()
[all …]
/linux-6.1.9/drivers/gpu/drm/r128/
Dr128_state.c363 int nbox = sarea_priv->nbox; in r128_cce_dispatch_clear() local
380 for (i = 0; i < nbox; i++) { in r128_cce_dispatch_clear()
468 int nbox = sarea_priv->nbox; in r128_cce_dispatch_swap() local
480 for (i = 0; i < nbox; i++) { in r128_cce_dispatch_swap()
582 DRM_DEBUG("buf=%d nbox=%d\n", buf->idx, sarea_priv->nbox); in r128_cce_dispatch_vertex()
595 if (i < sarea_priv->nbox) { in r128_cce_dispatch_vertex()
598 sarea_priv->nbox - i); in r128_cce_dispatch_vertex()
614 } while (i < sarea_priv->nbox); in r128_cce_dispatch_vertex()
637 sarea_priv->nbox = 0; in r128_cce_dispatch_vertex()
744 if (i < sarea_priv->nbox) { in r128_cce_dispatch_indices()
[all …]
/linux-6.1.9/drivers/gpu/drm/i810/
Di810_dma.c596 int nbox = sarea_priv->nbox; in i810_dma_dispatch_clear() local
615 if (nbox > I810_NR_SAREA_CLIPRECTS) in i810_dma_dispatch_clear()
616 nbox = I810_NR_SAREA_CLIPRECTS; in i810_dma_dispatch_clear()
618 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_clear()
669 int nbox = sarea_priv->nbox; in i810_dma_dispatch_swap() local
680 if (nbox > I810_NR_SAREA_CLIPRECTS) in i810_dma_dispatch_swap()
681 nbox = I810_NR_SAREA_CLIPRECTS; in i810_dma_dispatch_swap()
683 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_swap()
718 int nbox = sarea_priv->nbox; in i810_dma_dispatch_vertex() local
726 if (nbox > I810_NR_SAREA_CLIPRECTS) in i810_dma_dispatch_vertex()
[all …]
/linux-6.1.9/include/uapi/drm/
Dsavage_drm.h123 unsigned int nbox; /* number of clipping boxes */ member
Di810_drm.h162 unsigned int nbox; member
Dvia_drm.h187 unsigned int nbox; member
Dr128_drm.h163 unsigned int nbox; member
Dmga_drm.h191 unsigned int nbox; member
Dradeon_drm.h448 unsigned int nbox; member
666 int nbox; member