Searched refs:vertex (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_state.c | 2262 drm_radeon_vertex_t *vertex = data; in radeon_cp_vertex() local 2270 DRM_CURRENTPID, vertex->idx, vertex->count, vertex->discard); in radeon_cp_vertex() 2272 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { in radeon_cp_vertex() 2274 vertex->idx, dma->buf_count - 1); in radeon_cp_vertex() 2277 if (vertex->prim < 0 || vertex->prim > RADEON_PRIM_TYPE_3VRT_LINE_LIST) { in radeon_cp_vertex() 2278 DRM_ERROR("buffer prim %d\n", vertex->prim); in radeon_cp_vertex() 2285 buf = dma->buflist[vertex->idx]; in radeon_cp_vertex() 2293 DRM_ERROR("sending pending buffer %d\n", vertex->idx); in radeon_cp_vertex() 2299 if (vertex->count) { in radeon_cp_vertex() 2300 buf->used = vertex->count; /* not used? */ in radeon_cp_vertex() [all …]
|
/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()
|