Home | History | Annotate | Download | only in r128

Lines Matching defs:elts

1377 	drm_r128_indices_t *elts = data;
1385 elts->idx, elts->start, elts->end, elts->discard);
1387 if (elts->idx < 0 || elts->idx >= dma->buf_count) {
1389 elts->idx, dma->buf_count - 1);
1392 if (elts->prim < 0 ||
1393 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) {
1394 DRM_ERROR("buffer prim %d\n", elts->prim);
1401 buf = dma->buflist[elts->idx];
1410 DRM_ERROR("sending pending buffer %d\n", elts->idx);
1414 count = (elts->end - elts->start) / sizeof(u16);
1415 elts->start -= R128_INDEX_PRIM_OFFSET;
1417 if (elts->start & 0x7) {
1418 DRM_ERROR("misaligned buffer 0x%x\n", elts->start);
1421 if (elts->start < buf->used) {
1422 DRM_ERROR("no header 0x%x - 0x%x\n", elts->start, buf->used);
1426 buf->used = elts->end;
1427 buf_priv->prim = elts->prim;
1428 buf_priv->discard = elts->discard;
1430 r128_cce_dispatch_indices(dev, buf, elts->start, elts->end, count);