Lines Matching refs:blit
780 drm_r128_blit_t *blit) in r128_cce_dispatch_blit() argument
795 switch (blit->format) { in r128_cce_dispatch_blit()
811 DRM_ERROR("invalid blit format %d\n", blit->format); in r128_cce_dispatch_blit()
829 buf = dma->buflist[blit->idx]; in r128_cce_dispatch_blit()
838 DRM_ERROR("sending pending buffer %d\n", blit->idx); in r128_cce_dispatch_blit()
844 dwords = (blit->width * blit->height) >> dword_shift; in r128_cce_dispatch_blit()
851 (blit->format << 8) | in r128_cce_dispatch_blit()
858 data[2] = cpu_to_le32((blit->pitch << 21) | (blit->offset >> 5)); in r128_cce_dispatch_blit()
861 data[5] = cpu_to_le32((blit->y << 16) | blit->x); in r128_cce_dispatch_blit()
862 data[6] = cpu_to_le32((blit->height << 16) | blit->width); in r128_cce_dispatch_blit()
1435 drm_r128_blit_t *blit = data; in r128_cce_blit() local
1442 DRM_DEBUG("pid=%d index=%d\n", task_pid_nr(current), blit->idx); in r128_cce_blit()
1444 if (blit->idx < 0 || blit->idx >= dma->buf_count) { in r128_cce_blit()
1446 blit->idx, dma->buf_count - 1); in r128_cce_blit()
1453 ret = r128_cce_dispatch_blit(dev, file_priv, blit); in r128_cce_blit()