Searched refs:vertex (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/r128/ |
D | r128_state.c | 1324 drm_r128_vertex_t *vertex = data; in r128_cce_vertex() local 1331 DRM_CURRENTPID, vertex->idx, vertex->count, vertex->discard); in r128_cce_vertex() 1333 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { in r128_cce_vertex() 1335 vertex->idx, dma->buf_count - 1); in r128_cce_vertex() 1338 if (vertex->prim < 0 || in r128_cce_vertex() 1339 vertex->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_vertex() 1340 DRM_ERROR("buffer prim %d\n", vertex->prim); in r128_cce_vertex() 1347 buf = dma->buflist[vertex->idx]; in r128_cce_vertex() 1356 DRM_ERROR("sending pending buffer %d\n", vertex->idx); in r128_cce_vertex() 1360 buf->used = vertex->count; in r128_cce_vertex() [all …]
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 932 drm_i810_vertex_t *vertex = data; in i810_dma_vertex() local 937 vertex->idx, vertex->used, vertex->discard); in i810_dma_vertex() 939 if (vertex->idx < 0 || vertex->idx > dma->buf_count) in i810_dma_vertex() 943 dma->buflist[vertex->idx], in i810_dma_vertex() 944 vertex->discard, vertex->used); in i810_dma_vertex()
|
/drivers/gpu/drm/mga/ |
D | mga_state.c | 878 drm_mga_vertex_t *vertex = data; in mga_dma_vertex() local 882 if (vertex->idx < 0 || vertex->idx > dma->buf_count) in mga_dma_vertex() 884 buf = dma->buflist[vertex->idx]; in mga_dma_vertex() 887 buf->used = vertex->used; in mga_dma_vertex() 888 buf_priv->discard = vertex->discard; in mga_dma_vertex() 891 if (vertex->discard) { in mga_dma_vertex()
|