Home
last modified time | relevance | path

Searched refs:vertex (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/r128/
Dr128_state.c1320 drm_r128_vertex_t *vertex = data; in r128_cce_vertex() local
1327 task_pid_nr(current), vertex->idx, vertex->count, vertex->discard); in r128_cce_vertex()
1329 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { in r128_cce_vertex()
1331 vertex->idx, dma->buf_count - 1); in r128_cce_vertex()
1334 if (vertex->prim < 0 || in r128_cce_vertex()
1335 vertex->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_vertex()
1336 DRM_ERROR("buffer prim %d\n", vertex->prim); in r128_cce_vertex()
1343 buf = dma->buflist[vertex->idx]; in r128_cce_vertex()
1352 DRM_ERROR("sending pending buffer %d\n", vertex->idx); in r128_cce_vertex()
1356 buf->used = vertex->count; in r128_cce_vertex()
[all …]
/drivers/gpu/drm/i810/
Di810_dma.c937 drm_i810_vertex_t *vertex = data; in i810_dma_vertex() local
942 vertex->idx, vertex->used, vertex->discard); in i810_dma_vertex()
944 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) in i810_dma_vertex()
948 dma->buflist[vertex->idx], in i810_dma_vertex()
949 vertex->discard, vertex->used); in i810_dma_vertex()
/drivers/gpu/drm/mga/
Dmga_state.c876 drm_mga_vertex_t *vertex = data; in mga_dma_vertex() local
880 if (vertex->idx < 0 || vertex->idx > dma->buf_count) in mga_dma_vertex()
882 buf = dma->buflist[vertex->idx]; in mga_dma_vertex()
885 buf->used = vertex->used; in mga_dma_vertex()
886 buf_priv->discard = vertex->discard; in mga_dma_vertex()
889 if (vertex->discard) { in mga_dma_vertex()